GXInitLightColor

C Specification

#include <revolution/gx.h>
void GXInitLightColor(
GXLightObj* lt_obj,
GXColor	color );

Arguments

lt_obj Pointer to a light object
color Color of the light

Return Values

None.

Description

This function sets the color of the light from the light object. The memory for the light object should be allocated by the application; this function does not load the hardware register directly. To load a light object into a hardware light, use GXLoadLightObjImm or GXLoadLightObjIndx.

See Also

GXLoadLightObjImm
GXLoadLightObjIndx
GXSetChanCtrl

GXGetLightColor

GXLightObj Initialization Flow

Revision History

03/01/2006 Initial version.