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

#include <device.h>

Public Member Functions

HGIGL_API HgiGLDevice ()
 
HGIGL_API ~HgiGLDevice ()
 
HGIGL_API uint32_t AcquireFramebuffer (HgiGraphicsCmdsDesc const &desc)
 
HGIGL_API void SubmitOps (HgiGLOpsVector const &ops)
 Execute the provided functions / ops. This will emit the GL calls. More...
 

Friends

std::ofstreamoperator<< (std::ofstream &out, const HgiGLDevice &dev)
 

Detailed Description

Definition at line 44 of file device.h.

Constructor & Destructor Documentation

HGIGL_API HgiGLDevice::HgiGLDevice ( )
HGIGL_API HgiGLDevice::~HgiGLDevice ( )

Member Function Documentation

HGIGL_API uint32_t HgiGLDevice::AcquireFramebuffer ( HgiGraphicsCmdsDesc const desc)

Get a framebuffer that matches the descriptor. Do not hold onto the framebuffer Id. Instead re0acquire it every frame. Framebuffer are internally managed in a framebuffer cache.

HGIGL_API void HgiGLDevice::SubmitOps ( HgiGLOpsVector const ops)

Execute the provided functions / ops. This will emit the GL calls.

Friends And Related Function Documentation

std::ofstream& operator<< ( std::ofstream out,
const HgiGLDevice dev 
)
friend

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