#include <SlrPrimInfo.h>
Public Member Functions | |
SlrLightShader * | lightShader () const |
Convenience to get light shader from material. Warning, does no null testing! | |
Public Attributes | |
uint32_t | lightIndex |
Index of the light prim in the SlrLightInfoList. | |
usg::Path | primPath |
Prim path in Stage. | |
usg::Path | materialPath |
Material binding path in Stage (for projections) | |
SlrLightMaterial * | material |
Light material (stored in SlrRenderContext) | |
bool | castShadows |
Does the light cast a shadow? | |
Friends | |
std::ostream & | operator<< (std::ostream &, const SlrLightInfo &) |
This structure represents a single usg::Prim acting as a light source.
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |