24 #ifndef PXR_IMAGING_HD_ST_RENDER_BUFFER_H
25 #define PXR_IMAGING_HD_ST_RENDER_BUFFER_H
40 std::shared_ptr<class HdStDynamicUvTextureObject>;
59 bool multiSampled)
override;
62 unsigned int GetWidth()
const override;
68 unsigned int GetDepth()
const override;
85 void Unmap()
override;
91 return _mappers.load() != 0;
129 uint32_t _msaaSampleCount;
138 std::atomic<int> _mappers;
140 std::vector<uint8_t> _mappedBuffer;
HDST_API void * Map() override
HDST_API bool IsConverged() const override
HDST_API HdStTextureIdentifier GetTextureIdentifier(bool multiSampled)
void _Deallocate() override
Deallocate the buffer, freeing any owned resources.
HDST_API bool IsMapped() const override
HDST_API VtValue GetResource(bool multiSampled) const override
Returns the texture handle.
HDST_API bool Allocate(GfVec3i const &dimensions, HdFormat format, bool multiSampled) override
HDST_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Get allocation information from the scene delegate.
HDST_API HdFormat GetFormat() const override
Get the buffer's per-pixel format.
HDST_API unsigned int GetWidth() const override
Get the buffer's width.
HDST_API unsigned int GetDepth() const override
Get the buffer's depth.
HDST_API HdStRenderBuffer(HdStResourceRegistry *resourceRegistry, SdfPath const &id)
HDST_API ~HdStRenderBuffer() override
std::shared_ptr< class HdStDynamicUvTextureObject > HdStDynamicUvTextureObjectSharedPtr
GLint GLint GLsizei GLint GLenum format
HDST_API bool IsMultiSampled() const override
Get whether the buffer is multisampled.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HDST_API void Resolve() override
Resolve the sample buffer into final values.
HDST_API unsigned int GetHeight() const override
Get the buffer's height.
HDST_API void Unmap() override
Unmap the buffer.