![]() |
RenderMan
26.0
|
shadingCtxId is a unique identifier for this shading context. More...
#include <RixShading.h>
Public Member Functions | |
Id () | |
Id (unsigned int i) | |
unsigned int | Serialize () const |
void | Invalidate () |
bool | IsValid () const |
Public Attributes | |
short | shadingCtxNum |
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.
|
inline |
|
inline |
|
inline |
References shadingCtxNum.
|
inline |
References shadingCtxNum.
|
inline |
References shadingCtxNum.
short RixShadingContext::Id::shadingCtxNum |
Referenced by Invalidate(), IsValid(), and Serialize().