UmbraRenderable struct

A structure containing the definition of renderable.

Public variables

UmbraUserPointer mesh
The pointer to the mesh referenced by the renderable.
int lodLevel
The detail level of the renderable.
uint32_t visibilityMask
The encoded bitmask of visibility contexts where the renderable is visible.
UmbraFloat4_4 transform
The scene transform matrix, defined by UmbraSceneSetTransform, or the identity transform otherwise.
UmbraScene* scene
The pointer to the scene object this renderable is came from.

Variable details

int UmbraRenderable::lodLevel

The detail level of the renderable.

May be used in conjunction with UmbraSceneInfo::numLodLevels for visualization and debugging purposes.

uint32_t UmbraRenderable::visibilityMask

The encoded bitmask of visibility contexts where the renderable is visible.