Crazy Eddie's GUI System  0.8.6
CEGUI::OpenGL3StateChangeWrapper Class Reference

OpenGL3StateChangeWrapper - wraps OpenGL calls and checks for redundant calls beforehand. More...

+ Inheritance diagram for CEGUI::OpenGL3StateChangeWrapper:
+ Collaboration diagram for CEGUI::OpenGL3StateChangeWrapper:

Classes

struct  BindBufferParams
 
struct  BlendFuncParams
 
struct  BlendFuncSeperateParams
 
struct  PortParams
 

Public Member Functions

 OpenGL3StateChangeWrapper (OpenGL3Renderer &owner)
 
void reset ()
 
void bindVertexArray (GLuint vertexArray)
 
void blendFunc (GLenum sfactor, GLenum dfactor)
 
void blendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
 
void viewport (GLint x, GLint y, GLsizei width, GLsizei height)
 
void scissor (GLint x, GLint y, GLsizei width, GLsizei height)
 
void bindBuffer (GLenum target, GLuint buffer)
 

Protected Attributes

GLuint d_vertexArrayObject
 
BlendFuncParams d_blendFuncParams
 
BlendFuncSeperateParams d_blendFuncSeperateParams
 
PortParams d_viewPortParams
 
PortParams d_scissorParams
 
BindBufferParams d_bindBufferParams
 

Detailed Description

OpenGL3StateChangeWrapper - wraps OpenGL calls and checks for redundant calls beforehand.