24 #ifndef PXR_IMAGING_HGIGL_DEVICE_H
25 #define PXR_IMAGING_HGIGL_DEVICE_H
38 class HgiGraphicsCmdDesc;
68 bool resolved =
false);
78 HgiGLDevice & operator=(
const HgiGLDevice&) =
delete;
83 const HgiGLDevice& dev);
HGIGL_API void SubmitOps(HgiGLOpsVector const &ops)
Execute the provided functions / ops. This will emit the GL calls.
friend std::ofstream & operator<<(std::ofstream &out, const HgiGLDevice &dev)
HGIGL_API uint32_t AcquireFramebuffer(HgiGraphicsCmdsDesc const &desc, bool resolved=false)
Returns a framebuffer object id that is managed by the active arena.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
std::vector< HgiGLOpsFn > HgiGLOpsVector
HGIGL_API void GarbageCollect()
Garbage collect resources in the active arena.
HGIGL_API void SetCurrentArena(HgiGLContextArenaHandle const &arenaHandle)