|
bool | IsDoubleSided (HdSceneDelegate *delegate) const |
| Render State.
|
|
HdCullStyle | GetCullStyle (HdSceneDelegate *delegate) const |
|
VtValue | GetShadingStyle (HdSceneDelegate *delegate) const |
|
HdMeshTopology | GetMeshTopology (HdSceneDelegate *delegate) const |
| Topological accessors via the scene delegate.
|
|
HdDisplayStyle | GetDisplayStyle (HdSceneDelegate *delegate) const |
|
PxOsdSubdivTags | GetSubdivTags (HdSceneDelegate *delegate) const |
|
virtual HdMeshTopologySharedPtr | GetTopology () const |
| Topology getter.
|
|
VtValue | GetPoints (HdSceneDelegate *delegate) const |
| Primvars Accessors.
|
|
VtValue | GetNormals (HdSceneDelegate *delegate) const |
|
HD_API TfTokenVector const & | GetBuiltinPrimvarNames () const override |
| Returns the names of built-in primvars, i.e.
|
|
HD_API | HdRprim (SdfPath const &id) |
|
HD_API const HdRepr::DrawItemUniquePtrVector & | GetDrawItems (TfToken const &reprToken) const |
| Returns the draw items for the requested repr token, if any.
|
|
virtual HD_API void | Finalize (HdRenderParam *renderParam) |
| Finalizes object resources.
|
|
SdfPath const & | GetId () const |
| Returns the identifier of this Rprim.
|
|
int32_t | GetPrimId () const |
| Return the unique instance id.
|
|
HD_API void | SetPrimId (int32_t primId) |
| Set the unique instance id.
|
|
SdfPath const & | GetInstancerId () const |
| Returns the identifier of the instancer (if any) for this Rprim.
|
|
SdfPath const & | GetMaterialId () const |
| Returns the path of the material to which this Rprim is bound.
|
|
HD_API void | SetMaterialId (SdfPath const &materialId) |
| Sets a new material binding to be used by this rprim.
|
|
HdReprSelector const & | GetReprSelector () const |
|
TfToken const & | GetRenderTag () const |
|
TfToken | GetRenderTag (HdSceneDelegate *delegate) const |
| Returns the render tag associated to this rprim.
|
|
GfRange3d | GetExtent (HdSceneDelegate *delegate) const |
| Returns the bounds of the rprim in local, untransformed space.
|
|
HdPrimvarDescriptorVector | GetPrimvarDescriptors (HdSceneDelegate *delegate, HdInterpolation interpolation) const |
| Primvar Query.
|
|
VtValue | GetPrimvar (HdSceneDelegate *delegate, const TfToken &name) const |
|
VtValue | GetIndexedPrimvar (HdSceneDelegate *delegate, const TfToken &name, VtIntArray *indices) const |
|
HD_API VtMatrix4dArray | GetInstancerTransforms (HdSceneDelegate *delegate) |
|
HD_API bool | IsDirty (HdChangeTracker &changeTracker) const |
| Returns true if any dirty flags are set for this rprim.
|
|
bool | IsVisible () const |
| Is the prim itself visible.
|
|
HD_API void | UpdateReprSelector (HdSceneDelegate *delegate, HdDirtyBits *dirtyBits) |
|
virtual HD_API void | UpdateRenderTag (HdSceneDelegate *delegate, HdRenderParam *renderParam) |
|
virtual HdDirtyBits | GetInitialDirtyBitsMask () const =0 |
| Returns the set of dirty bits that should be added to the change tracker for this prim, when this prim is inserted.
|
|
HD_API bool | CanSkipDirtyBitPropagationAndSync (HdDirtyBits bits) const |
| This function gives an Rprim the chance to "early exit" from dirty bit propagation, delegate sync and rprim sync altogether.
|
|
HD_API HdDirtyBits | PropagateRprimDirtyBits (HdDirtyBits bits) |
| This function gives an Rprim the chance to set additional dirty bits based on those set in the change tracker, before passing the dirty bits to the scene delegate.
|
|
HD_API void | InitRepr (HdSceneDelegate *delegate, TfToken const &reprToken, HdDirtyBits *dirtyBits) |
| Initialize the representation of this Rprim by calling _InitRepr.
|
|
virtual void | Sync (HdSceneDelegate *delegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken)=0 |
| Pull invalidated scene data and prepare/update the renderable representation.
|
|