Nuke binary plugins 16.1.1
 
Loading...
Searching...
No Matches
slr::SlrLightInfo Struct 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 castShadow () 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 castShadowFlag ()
 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)
 
LightFlag 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.



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