RenderWare V2.1

Previous Page Index Next Page

RwImmediate *

RwSetupImmediateLine(RwImmediate * imm);

Description

Sets up an immediate mode structure for rendering lines.

Arguments

imm Pointer to immediate mode structure to setup.

Return Value

The immediate mode structure.

Comments

Before performing any immediate mode rendering with RwRenderImmediateLine(), it is necessary for the RwImmediate structure to have been set up with this function. Multiple renderings of a line may be performed after a single setup of the structure.

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

RwSetupImmediateTriangle()

RwImmediateBegin()

RwImmediateEnd()

RwRenderImmediateTriangle()

RwRenderImmediateLine()

RwRenderImmediateClump()

RwGetClumpImmVertex()

RwImmVertexPixelSpace()

RwImmZBufferDepth()

RwSetImmediateZRange()