HdPrman_Gprim< BASE > Class Template Referenceabstract

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

+ 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 vis, riley::Riley *riley) const
 
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
 

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 47 of file gprim.h.


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