24 #ifndef PXR_IMAGING_HD_ST_FIELD_H
25 #define PXR_IMAGING_HD_ST_FIELD_H
28 #include "pxr/imaging/hd/version.h"
29 #include "pxr/imaging/hd/field.h"
30 #include "pxr/imaging/hdSt/api.h"
32 #include "pxr/imaging/hdSt/textureIdentifier.h"
34 PXR_NAMESPACE_OPEN_SCOPE
45 ~HdStField()
override;
51 HdDirtyBits *dirtyBits)
override;
77 size_t _textureMemory;
79 bool _isInitialized : 1;
82 PXR_NAMESPACE_CLOSE_SCOPE
84 #endif //PXR_IMAGING_HD_ST_FIELD_H
HDST_API HdStField(SdfPath const &id, TfToken const &fieldType)
For now, only fieldType HdStTokens->openvdbAsset is supported.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
size_t GetTextureMemory() const
Get memory request for this field.
Class to identify a texture file or a texture within the texture file (e.g., a frame in a movie)...
Token for efficient comparison, assignment, and hashing of known strings.
Hydra schema for a USD field primitive.
static HDST_API bool IsSupportedBprimType(const TfToken &bprimType)
Can bprim type be handled by this class.
Adapter class providing data exchange with the client scene graph.
HDST_API HdDirtyBits GetInitialDirtyBitsMask() const override
Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of thi...
std::vector< TfToken > TfTokenVector
Convenience types.
static HDST_API const TfTokenVector & GetSupportedBprimTypes()
Bprim types handled by this class.
A path value used to locate objects in layers or scenegraphs.
HDST_API HdStTextureIdentifier const & GetTextureIdentifier() const
Initialized by Sync.
Represents a Field Buffer Prim.
HDST_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Loads field as 3d texture to generate GetFieldResource.