All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdPrman_Gprim< BASE > Class Template Referenceabstract

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

Inherits BASE, and BASE.

Public Types

typedef BASE BaseType
 
typedef BASE BaseType
 

Public Member Functions

 HdPrman_Gprim (SdfPath const &id, SdfPath const &instancerId=SdfPath())
 
void Finalize (HdRenderParam *renderParam) override
 
void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken) override
 
 HdPrman_Gprim (SdfPath const &id, SdfPath const &instancerId=SdfPath())
 
void Finalize (HdRenderParam *renderParam) override
 
void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken) override
 

Protected Member Functions

HdDirtyBits GetInitialDirtyBitsMask () const override=0
 
HdDirtyBits _PropagateDirtyBits (HdDirtyBits bits) const override
 
void _InitRepr (TfToken const &reprToken, HdDirtyBits *dirtyBits) override
 
virtual riley::MaterialId _GetFallbackMaterial (HdPrman_Context *context)
 
virtual void _ConvertGeometry (HdPrman_Context *context, RixRileyManager *mgr, HdSceneDelegate *sceneDelegate, const SdfPath &id, RtUString *primType, std::vector< HdGeomSubset > *geomSubsets, RixParamList *&primvars)=0
 
 HdPrman_Gprim (const HdPrman_Gprim &)=delete
 
HdPrman_Gprimoperator= (const HdPrman_Gprim &)=delete
 
HdDirtyBits GetInitialDirtyBitsMask () const override=0
 
HdDirtyBits _PropagateDirtyBits (HdDirtyBits bits) const override
 
void _InitRepr (TfToken const &reprToken, HdDirtyBits *dirtyBits) override
 
virtual riley::MaterialId _GetFallbackMaterial (HdPrman_Context *context)
 
virtual void _ConvertGeometry (HdPrman_Context *context, RixRileyManager *mgr, HdSceneDelegate *sceneDelegate, const SdfPath &id, RtUString *primType, std::vector< HdGeomSubset > *geomSubsets, RixParamList *&primvars)=0
 
 HdPrman_Gprim (const HdPrman_Gprim &)=delete
 
HdPrman_Gprimoperator= (const HdPrman_Gprim &)=delete
 

Protected Attributes

std::vector
< riley::GeometryMasterId > 
_masterIds
 
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 50 of file gprim.h.


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