24 #ifndef PXR_IMAGING_HD_ST_STAGING_BUFFER_H
25 #define PXR_IMAGING_HD_ST_STAGING_BUFFER_H
41 std::shared_ptr<class HdStStagingBuffer>;
67 void Resize(
size_t totalSize);
81 static constexpr int32_t MULTIBUFFERING = 3;
89 std::vector<HgiBufferGpuToGpuOp> _gpuCopyOps;
94 #endif // PXR_IMAGING_HD_ST_STAGING_BUFFER_H
HDST_API void Deallocate()
Destroys contained HgiBuffers and resets state to empty.
HDST_API ~HdStStagingBuffer()
HDST_API void StageCopy(HgiBufferCpuToGpuOp const ©Op)
std::shared_ptr< class HdStStagingBuffer > HdStStagingBufferSharedPtr
HDST_API HdStStagingBuffer(HdStResourceRegistry *resourceRegistry)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HDST_API void Resize(size_t totalSize)