7#ifndef PXR_IMAGING_HD_ST_FIELD_H
8#define PXR_IMAGING_HD_ST_FIELD_H
11#include "pxr/imaging/hd/version.h"
12#include "pxr/imaging/hd/field.h"
13#include "pxr/imaging/hdSt/api.h"
15#include "pxr/imaging/hdSt/textureIdentifier.h"
17PXR_NAMESPACE_OPEN_SCOPE
34 HdDirtyBits *dirtyBits)
override;
60 size_t _textureMemory;
62 bool _isInitialized : 1;
65PXR_NAMESPACE_CLOSE_SCOPE
Hydra schema for a USD field primitive.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Adapter class providing data exchange with the client scene graph.
Represents a Field Buffer Prim.
HDST_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Loads field as 3d texture to generate GetFieldResource.
HDST_API HdStTextureIdentifier const & GetTextureIdentifier() const
Initialized by Sync.
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...
static HDST_API const TfTokenVector & GetSupportedBprimTypes()
Bprim types handled by this class.
size_t GetTextureMemory() const
Get memory request for this field.
HDST_API HdStField(SdfPath const &id, TfToken const &fieldType)
For now, only fieldType HdStTokens->openvdbAsset is supported.
static HDST_API bool IsSupportedBprimType(const TfToken &bprimType)
Can bprim type be handled by this class.
Class to identify a texture file or a texture within the texture file (e.g., a frame in a movie).
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
std::vector< TfToken > TfTokenVector
Convenience types.