Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::GL::CDeviceCommandContext::ScopedBind Class Reference
Collaboration diagram for Renderer::Backend::GL::CDeviceCommandContext::ScopedBind:

Public Member Functions

 ScopedBind (CDeviceCommandContext *deviceCommandContext, const GLenum target, const GLuint handle)
 
 ~ScopedBind ()
 

Private Attributes

CDeviceCommandContextm_DeviceCommandContext = nullptr
 
BindUnit m_OldBindUnit
 
uint32_t m_ActiveTextureUnit = 0
 

Constructor & Destructor Documentation

◆ ScopedBind()

Renderer::Backend::GL::CDeviceCommandContext::ScopedBind::ScopedBind ( CDeviceCommandContext deviceCommandContext,
const GLenum  target,
const GLuint  handle 
)

◆ ~ScopedBind()

Renderer::Backend::GL::CDeviceCommandContext::ScopedBind::~ScopedBind ( )

Member Data Documentation

◆ m_ActiveTextureUnit

uint32_t Renderer::Backend::GL::CDeviceCommandContext::ScopedBind::m_ActiveTextureUnit = 0
private

◆ m_DeviceCommandContext

CDeviceCommandContext* Renderer::Backend::GL::CDeviceCommandContext::ScopedBind::m_DeviceCommandContext = nullptr
private

◆ m_OldBindUnit

BindUnit Renderer::Backend::GL::CDeviceCommandContext::ScopedBind::m_OldBindUnit
private

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