ezEngine  Milestone 7
ezGALRenderTargetConfigGL Class Reference

Every render target config maps to a OpenGL framebuffer-object. More...

#include <RenderTargetConfigGL.h>

Inheritance diagram for ezGALRenderTargetConfigGL:

Public Member Functions

glFramebuffer GetGLBufferHandle () const
 Returns OpenGL fbo-handle.
 

Protected Member Functions

 ezGALRenderTargetConfigGL (const ezGALRenderTargetConfigCreationDescription &Description)
 
virtual ezResult InitPlatform (ezGALDevice *pDevice) override
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice) override
 
ezResult AttachRenderTargetViewToFramebuffer (ezUInt32 index, const ezGALRenderTargetViewHandle &RenderTargetViewHandle, const ezGALDeviceGL *pDeviceGL)
 Intern helper function to attach a texture to the bound framebuffer.
 

Protected Attributes

glFramebuffer m_FramebufferHandle
 

Friends

class ezGALDeviceGL
 
class ezMemoryUtils
 

Detailed Description

Every render target config maps to a OpenGL framebuffer-object.

Member Function Documentation

ezResult ezGALRenderTargetConfigGL::InitPlatform ( ezGALDevice pDevice)
overrideprotectedvirtual
Todo:
State handling by primary context. REMOVE ALL glGetIntegerv ANYWHERE!

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