27 #ifndef _CEGUIOpenGL3GeometryBuffer_h_
28 #define _CEGUIOpenGL3GeometryBuffer_h_
30 #include "CEGUI/RendererModules/OpenGL/GeometryBufferBase.h"
35 class OpenGL3StateChangeWrapper;
36 class OpenGL3Renderer;
46 void initialiseOpenGLBuffers();
47 void deinitialiseOpenGLBuffers();
48 void updateOpenGLBuffers();
52 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:71
const GLint d_shaderStandardMatrixLoc
Matrix uniform location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:69
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:57
const GLint d_shaderPosLoc
Position variable location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:63
OpenGL3 based implementation of the GeometryBuffer interface.
Definition: GL3GeometryBuffer.h:39
GLuint d_verticesVBO
OpenGL vbo containing all vertex data.
Definition: GL3GeometryBuffer.h:59
OpenGL based implementation of the GeometryBuffer interface.
Definition: GeometryBufferBase.h:52
Renderer class to interface with OpenGL.
Definition: GL3Renderer.h:42
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:67
GLuint d_bufferSize
Size of the buffer that is currently in use.
Definition: GL3GeometryBuffer.h:73
const GLint d_shaderTexCoordLoc
TexCoord variable location inside the shader, for OpenGL.
Definition: GL3GeometryBuffer.h:65
CEGUI::OpenGL3Shader *& d_shader
Reference to the OpenGL shader inside the Renderer, that is used to render all geometry.
Definition: GL3GeometryBuffer.h:61