Loading...
Searching...
No Matches
HdPrman_Gprim< BASE > Class Template Referenceabstract

A mix-in template that adds shared gprim behavior to support various HdRprim types. More...

#include <gprim.h>

+ Inheritance diagram for HdPrman_Gprim< BASE >:

Public Types

using BaseType = BASE
 

Public Member Functions

 HdPrman_Gprim (SdfPath const &id)
 
void Finalize (HdRenderParam *renderParam) override
 
void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken) override
 
- Public Member Functions inherited from HdPrman_GprimBase
void UpdateInstanceVisibility (bool renderPassVisibility, riley::Riley *riley) const
 Update the visibilty of this prim for a render pass.
 
std::vector< riley::GeometryPrototypeId > GetPrototypeIds () const
 

Protected Member Functions

HdDirtyBits GetInitialDirtyBitsMask () const override=0
 
HdDirtyBits _PropagateDirtyBits (HdDirtyBits bits) const override
 
void _InitRepr (TfToken const &reprToken, HdDirtyBits *dirtyBits) override
 
virtual bool _PrototypeOnly ()
 
virtual riley::MaterialId _GetFallbackMaterial (HdPrman_RenderParam *renderParam)
 
virtual RtPrimVarList _ConvertGeometry (HdPrman_RenderParam *renderParam, HdSceneDelegate *sceneDelegate, const SdfPath &id, RtUString *primType, std::vector< HdGeomSubset > *geomSubsets)=0
 
 HdPrman_Gprim (const HdPrman_Gprim &)=delete
 
HdPrman_Gprimoperator= (const HdPrman_Gprim &)=delete
 

Additional Inherited Members

- Protected Attributes inherited from HdPrman_GprimBase
std::vector< riley::GeometryPrototypeId > _prototypeIds
 
std::vector< riley::GeometryInstanceId > _instanceIds
 
bool _sceneVisibility:1
 
bool _renderPassVisibility:1
 

Detailed Description

template<typename BASE>
class HdPrman_Gprim< BASE >

A mix-in template that adds shared gprim behavior to support various HdRprim types.

Definition at line 45 of file gprim.h.

Member Typedef Documentation

◆ BaseType

using BaseType = BASE

Definition at line 48 of file gprim.h.

Constructor & Destructor Documentation

◆ HdPrman_Gprim()

HdPrman_Gprim ( SdfPath const &  id)
inline

Definition at line 50 of file gprim.h.

Member Function Documentation

◆ _GetFallbackMaterial()

virtual riley::MaterialId _GetFallbackMaterial ( HdPrman_RenderParam *  renderParam)
inlineprotectedvirtual

Definition at line 126 of file gprim.h.

◆ _InitRepr()

void _InitRepr ( TfToken const &  reprToken,
HdDirtyBits *  dirtyBits 
)
inlineoverrideprotected

Definition at line 107 of file gprim.h.

◆ _PropagateDirtyBits()

HdDirtyBits _PropagateDirtyBits ( HdDirtyBits  bits) const
inlineoverrideprotected

Definition at line 100 of file gprim.h.

◆ _PrototypeOnly()

virtual bool _PrototypeOnly ( )
inlineprotectedvirtual

Definition at line 118 of file gprim.h.

◆ Finalize()

void Finalize ( HdRenderParam renderParam)
inlineoverride

Definition at line 58 of file gprim.h.

◆ Sync()

void Sync ( HdSceneDelegate sceneDelegate,
HdRenderParam renderParam,
HdDirtyBits *  dirtyBits,
TfToken const &  reprToken 
)
override

Definition at line 147 of file gprim.h.


The documentation for this class was generated from the following file: