All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiGLImmediateCommandBuffer Class Referencefinal

OpenGL implementation of HgiImmediateCommandBuffer. More...

+ Inheritance diagram for HgiGLImmediateCommandBuffer:

Public Member Functions

HGIGL_API
HgiGraphicsEncoderUniquePtr 
CreateGraphicsEncoder (HgiGraphicsEncoderDesc const &desc) override
 Returns a graphics encoder for temporary use that is ready to execute draw commands. More...
 
HGIGL_API HgiBlitEncoderUniquePtr CreateBlitEncoder () override
 Returns a blit encoder for temporary use that is ready to execute resource copy commands. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const HgiGLImmediateCommandBuffer &cmdBuf)
 

Detailed Description

OpenGL implementation of HgiImmediateCommandBuffer.

Definition at line 40 of file immediateCommandBuffer.h.

Member Function Documentation

HGIGL_API HgiBlitEncoderUniquePtr CreateBlitEncoder ( )
overridevirtual

Returns a blit encoder for temporary use that is ready to execute resource copy commands.

BlitEncoder is a lightweight object that should be re-acquired each frame (don't hold onto it after EndEncoding).

Implements HgiImmediateCommandBuffer.

HGIGL_API HgiGraphicsEncoderUniquePtr CreateGraphicsEncoder ( HgiGraphicsEncoderDesc const &  desc)
overridevirtual

Returns a graphics encoder for temporary use that is ready to execute draw commands.

GraphicsEncoder is a lightweight object that should be re-acquired each frame (don't hold onto it after EndEncoding).

Implements HgiImmediateCommandBuffer.


The documentation for this class was generated from the following file: