A mix-in template that adds shared gprim behavior to support various HdRprim types. More...
Inherits BASE.
Public Types | |
typedef BASE | BaseType |
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 |
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 RtPrimVarList | _ConvertGeometry (HdPrman_Context *context, HdSceneDelegate *sceneDelegate, const SdfPath &id, RtUString *primType, std::vector< HdGeomSubset > *geomSubsets)=0 |
HdPrman_Gprim (const HdPrman_Gprim &)=delete | |
HdPrman_Gprim & | operator= (const HdPrman_Gprim &)=delete |
Protected Attributes | |
std::vector < riley::GeometryPrototypeId > | _prototypeIds |
std::vector < riley::GeometryInstanceId > | _instanceIds |
A mix-in template that adds shared gprim behavior to support various HdRprim types.