28 #ifndef _CEGUIOpenGL3StateChangeWrapper_h_
29 #define _CEGUIOpenGL3StateChangeWrapper_h_
31 #include "CEGUI/RendererModules/OpenGL/GL.h"
32 #include "CEGUI/RendererModules/OpenGL/GL3Renderer.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
55 bool equal(GLenum sFactor, GLenum dFactor);
56 GLenum d_sFactor, d_dFactor;
62 bool equal(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
63 GLenum d_sfactorRGB, d_dfactorRGB, d_sfactorAlpha, d_dfactorAlpha;
69 bool equal(GLint x, GLint y, GLsizei width, GLsizei height);
71 GLsizei d_width, d_height;
77 bool equal(GLenum target, GLuint buffer);
90 void bindVertexArray(GLuint vertexArray);
91 void blendFunc(GLenum sfactor, GLenum dfactor);
92 void blendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
93 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
94 void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
95 void bindBuffer(GLenum target, GLuint buffer);
98 GLuint d_vertexArrayObject;
108 #if defined(_MSC_VER)
109 # pragma warning(pop)
Definition: MemoryAllocatedObject.h:109
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Definition: StateChangeWrapper.h:65
Definition: StateChangeWrapper.h:51
Renderer class to interface with desktop OpenGL version >= 3.2 or OpenGL ES version >= 2...
Definition: GL3Renderer.h:54
OpenGL3StateChangeWrapper - wraps OpenGL calls and checks for redundant calls beforehand.
Definition: StateChangeWrapper.h:47
Definition: StateChangeWrapper.h:73
Definition: StateChangeWrapper.h:58