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

#include <SlrPrimInfo.h>

Public Types

using PrimFlag = uint32_t
 

Public Member Functions

bool animates () const
 Does the object animate its xform or shape?
 
bool visibleToCamera () const
 Should the object be visible to camera?
 
bool reversedWinding () const
 Reversed face winding order (CW - clockwise)
 
bool doubleSided () const
 Surface should shade backside faces.
 
bool castsShadow () const
 Does the object cast a shadow?
 
bool receivesShadow () const
 Does the object get shadowed by lights?
 

Static Public Member Functions

static constexpr PrimFlag animatingFlag ()
 Does the object animate its xform or shape?
 
static constexpr PrimFlag visibleToCameraFlag ()
 Should the object be visible to camera?
 
static constexpr PrimFlag reversedWindingFlag ()
 Reversed face winding order (CW - clockwise)
 
static constexpr PrimFlag doubleSidedFlag ()
 Surface should shade backside faces.
 
static constexpr PrimFlag castsShadowFlag ()
 Does the object cast a shadow?
 
static constexpr PrimFlag receivesShadowFlag ()
 Does the object get shadowed by lights?
 

Public Attributes

uint32_t renderableIndex
 Index of object in renderable_prims in SlrEngineContext.
 
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 SlrEngineContext.
 
int32_t facesetIndex
 Faceset index if this prim is one, otherwise -1.
 
int32_t instancerIndex
 Instancer index in instancer_prims in SlrEngineContext.
 
int32_t instanceIndex
 Instance index if this prim is one, otherwise -1.
 
usg::Path materialPath
 Material binding path in Stage.
 
SlrSurfaceMaterialmaterial
 Render material (stored in SlrEngineContext)
 
uint32_t flags
 Various surface quality flags.
 

Friends

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

Detailed Description

This structure represents a single usg::Prim acting as a renderable surface.



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