G2_GetOBJColorParam


C Specification

#include <nitro/gx/g2_oam.h>

int G2_GetOBJColorParam(const GXOamAttr * oam);

Description

Gets the color parameter for the OAM data stored in *oam.

Arguments

oam Pointer to the place storing OAM data.

Return Values

Color parameter.
Obtains the palette number when the OBJ mode is set to something other than bitmap OBJ.
Returns the alpha value of the OBJ when the OBJ mode is bitmap OBJ.

See Also

G2_SetOBJAttr, G2_SetOBJMode

Revision History

06/09/2004 Initial Version