24 #ifndef PXR_IMAGING_HD_ST_RENDER_BUFFER_H
25 #define PXR_IMAGING_HD_ST_RENDER_BUFFER_H
41 std::shared_ptr<class HdStDynamicUvTextureObject>;
60 bool multiSampled)
override;
63 unsigned int GetWidth()
const override;
69 unsigned int GetDepth()
const override;
89 void Unmap()
override;
95 return _mappers.load() != 0;
133 uint32_t _msaaSampleCount;
142 std::atomic<int> _mappers;
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.
GLint GLint GLsizei GLint GLenum format
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
HDST_API bool IsMultiSampled() const override
Get whether the buffer is multisampled.
HDST_API uint32_t GetMSAASampleCount() const
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.