RixShadingContext::Id Struct Reference
RixShadingContext::Id Struct Reference
#include <RixShading.h>
Public Member Functions | |
Id (unsigned int i) | |
unsigned int | Serialize () const |
void | Invalidate () |
bool | IsValid () const |
Public Attributes | |
short | integratorCtxNum |
short | shadingCtxNum |
Detailed Description
shadingCtxId is a unique identifier for this shading context. Must be assigned to outgoing rays (RtRayGeometry) by integrators. RtRayGeometry can use this structure to convey the launching shading context through the ray tracing system. When a RtRayGeometry does not arise from a shading context, the Id is invalid.
The documentation for this struct was generated from the following file: