#include <nitro/gx/g3imm.h>
#include <nitro/gx/g3b.h>
#include <nitro/gx/g3c.h>
void G3_MaterialColorDiffAmb(RGB diffuse, GXRgb ambient, BOOL IsSetVtxColor);
// Below are APIs for creating the display list (command list)
void G3B_MaterialColorDiffAmb(
GXDLInfo* info,
GXRgb diffuse,
GXRgb ambient,
BOOL IsSetVtxColor);
void G3C_MaterialColorDiffAmb(
GXDLInfo* info,
GXRgb diffuse,
GXRgb ambient,
BOOL IsSetVtxColor);
void G3BS_MaterialColorDiffAmb(
GXDLInfo* info,
GXRgb diffuse,
GXRgb ambient,
BOOL IsSetVtxColor);
void G3CS_MaterialColorDiffAmb(
GXDLInfo* info,
GXRgb diffuse,
GXRgb ambient,
BOOL IsSetVtxColor);
This function sets the reflected diffuse color and reflected ambient color for materials. The vertex color set flag specifies whether to set the reflected diffuse color as the vertex color (TRUE) or not as the vertex color (FALSE).
info |
Command list information |
diffuse |
Reflected diffuse color |
ambient |
Reflected ambient color |
IsSetVtxColor |
Vertex color set flag |
None.
01/19/2004 Initial Version