Nuke binary plugins 16.0.1
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
slr::SlrLightInfo Class Reference

#include <SlrPrimInfo.h>

Public Types

using LightFlag = uint32_t
 

Public Member Functions

SlrLightShader * lightShader () const
 Convenience to get light shader from material. Warning, does no null testing!
 
bool animates () const
 Does the light animate its xform or shape?
 
bool castShadows () const
 Does the light cast a shadow?
 

Static Public Member Functions

static constexpr LightFlag animatingFlag ()
 Does the light animate its xform or shape?
 
static constexpr LightFlag castShadowsFlag ()
 Does the light cast a shadow?
 

Public Attributes

uint32_t renderableLightIndex
 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 SlrEngineContext)
 
uint32_t flags
 Various light quality flags.
 

Friends

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

Detailed Description

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



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