![]() |
VR-Forces 4.0.4 Class Documentation
|
Render modes for drawing GL primitives. More...
Static Public Attributes | |
| static unsigned int | theVertexCountToModeMap [5] |
| A map which maps the number of vertices to GL mode. | |
Render modes for drawing GL primitives.
unsigned int makVrv::DtRenderModes::theVertexCountToModeMap[5] [static] |
A map which maps the number of vertices to GL mode.
0 -> 0 (a bug should this happen) 1 -> GL_POINTS 2 -> GL_LINES 3 -> GL_TRIANGLES 4 -> GL_QUADS
Referenced by makVrv::DtFormatRenderer< DtOffsetColoredTexturedVertex >::drawArrays(), and makVrv::DtFormatRenderer< DtOffsetColoredTexturedVertex >::drawElements().