jubilant-funicular
Public Member Functions | Public Attributes | List of all members
nta::RenderBatch Struct Reference

stores information about batches of vertices with the same texture in a vertex buffer object More...

#include <SpriteBatch.h>

Collaboration diagram for nta::RenderBatch:
Collaboration graph
[legend]

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.)
 

Detailed Description

stores information about batches of vertices with the same texture in a vertex buffer object

Definition at line 68 of file SpriteBatch.h.


The documentation for this struct was generated from the following file: