N3DCMDSTREAM Struct Reference

Describes a Command Stream. More...

#include <n3dtypes.h>


Data Fields

unsigned data
 Start of data.
unsigned short numNormals
 Specifies the number of NORMAL commands in stream.
unsigned short numPrims
 Specifies the number of primitives in stream.
unsigned short numTexCoords
 Specifies the number of TEXCOORD commands in stream.
unsigned short numVerts
 Specifies the number of VTX commands in stream.
unsigned short primType
 Describes the primitive type.
unsigned short size
 Specifies the number in 32bit words of the following data.


Detailed Description

Describes a Command Stream.

A N3D command stream can contain commands to set positions, normals and texture coordinates. The commands being transfered to the Geometry Engine using direct memory access. Due to the direct memory access transfer, the data cache must be flushed prior the call to N3DDEVICE::DrawPrimitive and a command stream cannot be located in the DTCM region (e.g. stack) as the DTCM is not connected to the DMA bus.

See also:
N3DDEVICE::DrawPrimitive
Todo:
Add detailed stream format, add mesh converter, add link to gbatek

Generated on Wed Aug 29 19:48:04 2007 for N3D by  doxygen 1.5.3