RenderWare V2.1

Previous Page Index Next Page

RwImmediate *

RwSetupImmediateTriangle(RwImmediate * imm);

Description

Sets up an immediate mode structure for rendering triangles.

Arguments

imm Pointer to the immediate structure to setup.

Return Value

The immediate structure

Comments

Before performing any immediate mode rendering it is necessary to set up the structure for use. This call need only performed once for a particular RwImmediate structure as long as only triangles are rendered with this structure. Multiple rendering may be made from a single RwImmediate structure set up by this function.

By default the structure set up has the following characteristics

· No Z Buffering

· 3d mode (transforms world space to camera space)

· No material applied

See Also

RwSetupImmediateLine()

RwImmediateBegin()

RwImmediateEnd()

RwRenderImmediateTriangle()

RwRenderImmediateLine()

RwRenderImmediateClump()

RwGetClumpImmVertex()

RwImmVertexPixelSpace()

RwImmZBufferDepth()

RwSetImmediateZRange()