HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdVolume Class Reference

#include <volume.h>

+ Inheritance diagram for HdVolume:

Public Member Functions

HD_API HdVolume (SdfPath const &id, SdfPath const &instancerId=SdfPath())
 
virtual HD_API ~HdVolume ()
 
HD_API TfTokenVector constGetBuiltinPrimvarNames () const override
 
- Public Member Functions inherited from HdRprim
HD_API HdRprim (SdfPath const &id, SdfPath const &instancerId)
 
virtual HD_API ~HdRprim ()
 
HD_API const
HdRepr::DrawItemUniquePtrVector
GetDrawItems (TfToken const &reprToken) const
 
virtual HD_API void Finalize (HdRenderParam *renderParam)
 
SdfPath constGetId () const
 
int32_t GetPrimId () const
 Return the unique instance id. More...
 
HD_API void SetPrimId (int32_t primId)
 Set the unique instance id. More...
 
SdfPath constGetInstancerId () const
 
SdfPath constGetMaterialId () const
 
TfToken constGetMaterialTag () const
 
HdReprSelector constGetReprSelector () const
 
TfToken GetRenderTag (HdSceneDelegate *delegate) const
 Returns the render tag associated to this rprim. More...
 
GfRange3d GetExtent (HdSceneDelegate *delegate) const
 Returns the bounds of the rprim in local, untransformed space. More...
 
HdPrimvarDescriptorVector GetPrimvarDescriptors (HdSceneDelegate *delegate, HdInterpolation interpolation) const
 Primvar Query. More...
 
VtValue GetPrimvar (HdSceneDelegate *delegate, const TfToken &name) 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. More...
 
bool IsVisible () const
 Is the prim itself visible. More...
 
HD_API void UpdateReprSelector (HdSceneDelegate *delegate, HdDirtyBits *dirtyBits)
 
virtual HdDirtyBits GetInitialDirtyBitsMask () const =0
 
HD_API bool CanSkipDirtyBitPropagationAndSync (HdDirtyBits bits) const
 
HD_API HdDirtyBits PropagateRprimDirtyBits (HdDirtyBits bits)
 
HD_API void InitRepr (HdSceneDelegate *delegate, TfToken const &reprToken, HdDirtyBits *dirtyBits)
 
virtual void Sync (HdSceneDelegate *delegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken)=0
 

Detailed Description

Hd schema for a renderable volume primitive.

Definition at line 43 of file volume.h.

Constructor & Destructor Documentation

HD_API HdVolume::HdVolume ( SdfPath const id,
SdfPath const instancerId = SdfPath() 
)
virtual HD_API HdVolume::~HdVolume ( )
virtual

Member Function Documentation

HD_API TfTokenVector const& HdVolume::GetBuiltinPrimvarNames ( ) const
overridevirtual

Returns the names of built-in primvars, i.e. primvars that are part of the core geometric schema for this prim.

Implements HdRprim.


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