GXInitLightColor

Syntax

#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 is allocated by the application; this function does not load the hardware register directly. To load a light object into a hardware light, use the GXLoadLightObjImm or GXLoadLightObjIndx function.

See Also

GXLoadLightObjImm, GXLoadLightObjIndx, GXSetChanCtrl, GXGetLightColor, GXLightObj Initialization Flow

Revision History

2006/03/01 Initial version.


CONFIDENTIAL