27 #ifndef _CEGUIOpenGL3GeometryBuffer_h_
28 #define _CEGUIOpenGL3GeometryBuffer_h_
30 #include "CEGUI/RendererModules/OpenGL/GeometryBufferBase.h"
35 class OpenGL3StateChangeWrapper;
36 class OpenGL3Renderer;
46 void initialiseOpenGLBuffers();
48 void configureVertexArray()
const;
49 void deinitialiseOpenGLBuffers();
50 void updateOpenGLBuffers();
54 void appendGeometry(
const Vertex*
const vbuff, uint vertex_count);
OpenGL3StateChangeWrapper * d_glStateChanger
Pointer to the OpenGL state changer wrapper that was created inside the Renderer. ...
Definition: GL3GeometryBuffer.h:73
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
const GLint d_shaderStandardMatrixLoc
Matrix uniform location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:71
structure that is used to hold details of a single vertex in 3D space.
Definition: Vertex.h:40
GLuint d_verticesVAO
OpenGL vao used for the vertices.
Definition: GL3GeometryBuffer.h:59
const GLint d_shaderPosLoc
Position variable location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:65
OpenGL3 based implementation of the GeometryBuffer interface.
Definition: GL3GeometryBuffer.h:39
GLuint d_verticesVBO
OpenGL vbo containing all vertex data.
Definition: GL3GeometryBuffer.h:61
OpenGL based implementation of the GeometryBuffer interface.
Definition: GeometryBufferBase.h:52
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
const GLint d_shaderColourLoc
Color variable location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:69
GLuint d_bufferSize
Size of the buffer that is currently in use.
Definition: GL3GeometryBuffer.h:75
const GLint d_shaderTexCoordLoc
TexCoord variable location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:67
CEGUI::OpenGL3Shader *& d_shader
Reference to the OpenGL shader inside the Renderer, that is used to render all geometry.
Definition: GL3GeometryBuffer.h:63