Torque Game Engine Documentation
TGE Version 1.5.2
Torque Home
Class Hierarchy
Data Structures
Namespaces
Namespace Members
File List
Globals
TSDrawPrimitive Struct Reference
#include <tsMesh.h>
Public Types
enum
{
Triangles
= 0 << 30,
Strip
= 1 << 30,
Fan
= 2 << 30,
Indexed
= BIT(29),
NoMaterial
= BIT(28),
MaterialMask
= ~(Strip|Fan|Triangles|Indexed|NoMaterial),
TypeMask
= Strip|Fan|Triangles
}
Data Fields
S16
start
S16
numElements
S32
matIndex
holds material index & element type (see above enum)
Member Enumeration Documentation
anonymous enum
Enumerator:
Triangles
bits 30 and 31 index element type
Strip
bits 30 and 31 index element type
Fan
bits 30 and 31 index element type
Indexed
use glDrawElements if indexed, glDrawArrays o.w.
NoMaterial
set if no material (i.e., texture missing)
MaterialMask
TypeMask
Field Documentation
S16
TSDrawPrimitive::start
S16
TSDrawPrimitive::numElements
S32
TSDrawPrimitive::matIndex
holds material index & element type (see above enum)
All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with
Doxygen