RenderWare V2.1

Previous Page Index Next Page

RwBool

RwMaterialEnd(void);

Description

Restores the previous state of the current material. The material stack is restored to its state at the time of the last RwMaterialBegin().

Arguments

None.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

This function can only be called within the context of an RwModelBegin()RwModelEnd() block.

See Also

RwClumpBegin()

RwClumpEnd()

RwMaterialBegin()

RwModelBegin()

RwModelEnd()

RwPopCurrentMaterial()

RwProtoBegin()

RwProtoEnd()