jubilant-funicular
|
stores information about batches of vertices with the same texture in a vertex buffer object More...
#include <SpriteBatch.h>
Public Member Functions | |
RenderBatch (GLuint t, GLuint o, GLuint n, GLenum m=GL_TRIANGLES) | |
constructor | |
Public Attributes | |
GLuint | textureID |
the texture used by the batch | |
GLuint | offset |
the starting point of the batch in the vertex buffer | |
GLuint | numVertices |
the number of vertices comprising the vertex buffer | |
GLenum | mode |
the primitive type to be drawn (GL_POINTS, GL_LINES, etc.) | |
stores information about batches of vertices with the same texture in a vertex buffer object
Definition at line 68 of file SpriteBatch.h.