Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Data Types
[Immediate Mode]


Enumerations

enum   RwPrimitiveType {
  rwPRIMTYPENAPRIMTYPE = 0, rwPRIMTYPELINELIST = 1, rwPRIMTYPEPOLYLINE = 2, rwPRIMTYPETRILIST = 3,
  rwPRIMTYPETRISTRIP = 4, rwPRIMTYPETRIFAN = 5, rwPRIMTYPEPOINTLIST = 6, rwPRIMITIVETYPEFORCEENUMSIZEINT = RWFORCEENUMSIZEINT
}

Detailed Description

Immediate Mode Data Types

Enumeration Type Documentation

enum RwPrimitiveType
 

RwPrimitiveType This type represents the different types of indexed line and indexed triangle primitives that are available when rendering 2D and 3D immediate mode objects (see API functions RwIm2DRenderIndexedPrimitive, RwIm2DRenderPrimitive, RwIm3DRenderIndexedPrimitive and RwIm3DRenderPrimitive). Indices are into a vertex list and must be defined in a counter-clockwise order (as seen from the camera) to be visible.

Enumeration values:
rwPRIMTYPENAPRIMTYPE  Invalid primative type
rwPRIMTYPELINELIST  Unconnected line segments, each line is specified by both its start and end index, independently of other lines (for example, 3 segments specified as 0-1, 2-3, 4-5)
rwPRIMTYPEPOLYLINE  Connected line segments, each line's start index (except the first) is specified by the index of the end of the previous segment (for example, 3 segments specified as 0-1, 1-2, 2-3)
rwPRIMTYPETRILIST  Unconnected triangles: each triangle is specified by three indices, independently of other triangles (for example, 3 triangles specified as 0-1-2, 3-4-5, 6-7-8)
rwPRIMTYPETRISTRIP  Connected triangles sharing an edge with, at most, one other forming a series (for example, 3 triangles specified as 0-2-1, 1-2-3-, 2-4-3)
rwPRIMTYPETRIFAN  Connected triangles sharing an edge with, at most, two others forming a fan (for example, 3 triangles specified as 0-2-1, 0-3-2, 0-4-3)
rwPRIMTYPEPOINTLIST  Points 1, 2, 3, etc. This is not supported by the default RenderWare immediate or retained-mode pipelines (except on PlayStation 2), it is intended for use by user-created pipelines

Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:16 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)