24 #ifndef PXR_IMAGING_HD_ST_VOLUME_H
25 #define PXR_IMAGING_HD_ST_VOLUME_H
28 #include "pxr/imaging/hdSt/api.h"
29 #include "pxr/imaging/hd/version.h"
30 #include "pxr/imaging/hd/volume.h"
32 PXR_NAMESPACE_OPEN_SCOPE
43 ~HdStVolume()
override;
51 HdDirtyBits* dirtyBits,
52 TfToken const &reprToken)
override;
69 HdDirtyBits* dirtyBits)
override;
76 HdDirtyBits *dirtyBitsState);
81 HdStDrawItem *drawItem,
82 HdDirtyBits *dirtyBits);
84 HdReprSharedPtr _volumeRepr;
87 PXR_NAMESPACE_CLOSE_SCOPE
89 #endif //PXR_IMAGING_HD_ST_VOLUME_H
HDST_API void Finalize(HdRenderParam *renderParam) override
Finalizes object resources.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
void _InitRepr(TfToken const &reprToken, HdDirtyBits *dirtyBits) override
Initialize the given representation of this Rprim.
Hd schema for a renderable volume primitive.
Token for efficient comparison, assignment, and hashing of known strings.
static const float defaultStepSizeLighting
Default step size used for raymarching for lighting computation.
Adapter class providing data exchange with the client scene graph.
static const float defaultStepSize
Default step size used for raymarching.
Represents a Volume Prim.
HDST_API HdDirtyBits GetInitialDirtyBitsMask() const override
Returns the set of dirty bits that should be added to the change tracker for this prim...
A path value used to locate objects in layers or scenegraphs.
static const float defaultMaxTextureMemoryPerField
Default memory limit for a field texture (in Mb) if not overridden by field prim with textureMemory...
HdDirtyBits _PropagateDirtyBits(HdDirtyBits bits) const override
This callback from Rprim gives the prim an opportunity to set additional dirty bits based on those al...
HDST_API void Sync(HdSceneDelegate *delegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken) override
Pull invalidated scene data and prepare/update the renderable representation.