G3_Color

# G3*_Color

## C Specification

      #include <nitro/gx/g3imm.h>
      #include <nitro/gx/g3b.h>
      #include <nitro/gx/g3c.h>

      void G3_Color(GXRgb color);

      // Below are APIs for creating the display list (command list)
      void G3B_Color(GXDLInfo* info, GXRgb rgb);
      void G3C_Color(GXDLInfo* info, GXRgb rgb);
      void G3BS_Color(GXDLInfo* info, GXRgb rgb);
      void G3CS_Color(GXDLInfo* info, GXRgb rgb);

## Description

This function sets vertex color directly. The vertex color is valid until the current vertex color is updated by `G3*_Color`, `G3*_Normal`, or `G3*_MaterialColorDiffAmb` (vertex color set flag) command. Therefore, vertex color can be shared by multiple vertices.

## Arguments

`info` | Command list information
`rgb` | Vertex color

## Return Values

None

## See Also

`G3*_Normal, G3*_MaterialColorDiffAmb`

## Revision History

01/19/2004 Initial Version