Nuke binary plugins 15.1.3
 
Loading...
Searching...
No Matches
slr::SlrLightInfo Class Reference

#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)
 
SlrLightMaterialmaterial
 Light material (stored in SlrRenderContext)
 
bool castShadows
 Does the light cast a shadow?
 

Friends

std::ostream & operator<< (std::ostream &, const SlrLightInfo &)
 

Detailed Description

This structure represents a single usg::Prim acting as a light source.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com