24 #ifndef PXR_IMAGING_HD_ST_FIELD_H
25 #define PXR_IMAGING_HD_ST_FIELD_H
77 size_t _textureMemory;
79 bool _isInitialized : 1;
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.
HDST_API ~HdStField() override
static HDST_API const TfTokenVector & GetSupportedBprimTypes()
Bprim types handled by this class.
HDST_API HdDirtyBits GetInitialDirtyBitsMask() const override
size_t GetTextureMemory() const
Get memory request for this field.
std::vector< TfToken > TfTokenVector
Convenience types.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static HDST_API bool IsSupportedBprimType(const TfToken &bprimType)
Can bprim type be handled by this class.
HDST_API HdStTextureIdentifier const & GetTextureIdentifier() const
Initialized by Sync.
#define PXR_NAMESPACE_CLOSE_SCOPE
HDST_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Loads field as 3d texture to generate GetFieldResource.