Ninja Library - Matrix Structure

NJS_COLOR

Union that defines the color and texture UV

DEFINITION

typedef union { 
        Uint32          color; 
        NJS_TEX         tex; 
        NJS_BGRA        argb; 
} NJS_COLOR; 

MEMBER

 color  Pack color value 
 tex  Texture UV value 
 argb  Color value set for each ARGB component 

DESCRIPTION

Union that defines the color and texture UV.

REFERENCE

njDrawCircle2D()
njDrawLine2D()
njDrawLine3D()
njDrawPoint2D()
njDrawPoint3D()
njDrawPolygon2D()
njDrawPolygon3D()
njDrawTriangle2D()
njDrawTriangle3D()

NJS_COLOR
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999