#include <SlrPrimInfo.h>
Public Attributes | |
uint32_t | objectIndex |
Index of object in renderable_prims in SlrRenderContext. | |
usg::Path | primPath |
Prim path in Stage (prototype path if an instance) | |
int32_t | primAdapter |
To drive render primitive conversion. | |
int32_t | facesetBaseIndex |
Faceset base prim in renderable_prims in SlrRenderContext. | |
int32_t | facesetIndex |
Faceset index if this prim is one, otherwise -1. | |
int32_t | instancerIndex |
Instancer index in instancer_prims in SlrRenderContext. | |
int32_t | instanceIndex |
Instance index if this prim is one, otherwise -1. | |
usg::Path | materialPath |
Material binding path in Stage. | |
SlrSurfaceMaterial * | material |
Render material (stored in SlrRenderContext) | |
bool | visibleToCamera |
Should the object be visible to camera? | |
bool | castsShadow |
Does the object cast a shadow? | |
bool | receivesShadow |
Does the object get shadowed by lights? | |
fdk::Mat4dList | transforms |
Double-precision scene-transform matrices. | |
Friends | |
std::ostream & | operator<< (std::ostream &, const SlrPrimInfo &) |
This structure represents a single usg::Prim acting as a renderable surface.
©2025 The Foundry Visionmongers, Ltd. All Rights Reserved. |