VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Attributes
makVrv::DtRenderModes Class Reference

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.

Detailed Description

Render modes for drawing GL primitives.

Member Data Documentation

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


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)