NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixPayloadType Struct Reference

#include <optix_types.h>

Public Attributes

unsigned int numPayloadValues
 
const unsigned int * payloadSemantics
 

Detailed Description

Specifies a single payload type.

Member Data Documentation

 numPayloadValues

unsigned int OptixPayloadType::numPayloadValues

The number of 32b words the payload of this type holds.

 payloadSemantics

const unsigned int* OptixPayloadType::payloadSemantics

Points to host array of payload word semantics, size must match numPayloadValues.