Support Forum G3D Web Page |
Per-surface mask allowing it to be ignored by some ray types. More...
Public Member Functions | |
RenderMask (const uint32_t value=0) | |
operator uint32_t () const | |
Public Attributes | |
uint32_t | value = 0 |
Static Public Attributes | |
static const uint32_t | ALL_GEOMETRY = 0xFFFFFFFF |
static const uint32_t | DYNAMIC_GEOMETRY = 2 |
static const uint32_t | STATIC_GEOMETRY = 1 |
Per-surface mask allowing it to be ignored by some ray types.
In OptiX, this is limited to 8 bits. We use the first two for static and dynamic objects and reserve the rest for future use.
|
inline |
|
inline |
|
static |
|
static |
|
static |
uint32_t RenderMask::value = 0 |