29 static unsigned int theVertexCountToModeMap[5];
34 template <
typename VertexFormat>
39 void drawArrays(
unsigned int vertexCount,
unsigned int vbo,
unsigned int index,
unsigned int count)
41 glBindBuffer(GL_ARRAY_BUFFER,vbo);
47 glBindBuffer(GL_ARRAY_BUFFER,0);
51 void drawElements(
unsigned int vbo,
unsigned int vertexCount,
const unsigned int* indices,
unsigned int count )
53 glBindBuffer(GL_ARRAY_BUFFER,vbo);
60 glBindBuffer(GL_ARRAY_BUFFER,0);
Render modes for drawing GL primitives.
Definition: DtFormatRenderer.h:19
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
static unsigned int theVertexCountToModeMap[5]
A map which maps the number of vertices to GL mode.
Definition: DtFormatRenderer.h:29