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
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 bool _ConvertGeometry (HdPrman_RenderParam *renderParam, HdSceneDelegate *sceneDelegate, const SdfPath &id, RtUString *primType, RtPrimVarList *primvars, std::vector< HdGeomSubset > *geomSubsets, std::vector< RtPrimVarList > *geomSubsetPrimvars)=0
 
virtual void _AddPrimvars (RtPrimVarList *) const
 
virtual const std::vector< riley::CoordinateSystemId > & _GetAdditionalCoordSysIds () const
 
 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 30 of file gprim.h.

Member Typedef Documentation

◆ BaseType

template<typename BASE >
using BaseType = BASE

Definition at line 33 of file gprim.h.

Constructor & Destructor Documentation

◆ HdPrman_Gprim()

template<typename BASE >
HdPrman_Gprim ( SdfPath const & id)
inline

Definition at line 35 of file gprim.h.

Member Function Documentation

◆ _AddPrimvars()

template<typename BASE >
virtual void _AddPrimvars ( RtPrimVarList * ) const
inlineprotectedvirtual

Definition at line 133 of file gprim.h.

◆ _GetAdditionalCoordSysIds()

template<typename BASE >
virtual const std::vector< riley::CoordinateSystemId > & _GetAdditionalCoordSysIds ( ) const
inlineprotectedvirtual

Definition at line 140 of file gprim.h.

◆ _GetFallbackMaterial()

template<typename BASE >
virtual riley::MaterialId _GetFallbackMaterial ( HdPrman_RenderParam * renderParam)
inlineprotectedvirtual

Definition at line 114 of file gprim.h.

◆ _InitRepr()

template<typename BASE >
void _InitRepr ( TfToken const & reprToken,
HdDirtyBits * dirtyBits )
inlineoverrideprotected

Definition at line 95 of file gprim.h.

◆ _PropagateDirtyBits()

template<typename BASE >
HdDirtyBits _PropagateDirtyBits ( HdDirtyBits bits) const
inlineoverrideprotected

Definition at line 88 of file gprim.h.

◆ _PrototypeOnly()

template<typename BASE >
virtual bool _PrototypeOnly ( )
inlineprotectedvirtual

Definition at line 106 of file gprim.h.

◆ Finalize()

template<typename BASE >
void Finalize ( HdRenderParam * renderParam)
inlineoverride

Definition at line 43 of file gprim.h.

◆ Sync()

template<typename BASE >
void Sync ( HdSceneDelegate * sceneDelegate,
HdRenderParam * renderParam,
HdDirtyBits * dirtyBits,
TfToken const & reprToken )
override

Definition at line 154 of file gprim.h.


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