D3DCOLORMODEL

The D3DCOLORMODEL type is used to define the color model in which the system will run. A driver can expose either or both flags in the dcmColorModel member of the D3DDEVICEDESC structure.

typedef DWORD D3DCOLORMODEL
 

Values

D3DCOLOR_MONO
Use a monochromatic model (or ramp model). In this model, the blue component of a vertex color is used to define the brightness of a lit vertex.
D3DCOLOR_RGB
Use a full RGB model.

Remarks

Prior to DirectX 5.0, these values were part of an enumerated type. The enumerated type in earlier versions of DirectX had this syntax:

typedef enum _D3DCOLORMODEL { 
    D3DCOLOR_MONO = 1, 
    D3DCOLOR_RGB  = 2, 
} D3DCOLORMODEL; 
 

QuickInfo

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.

See Also

D3DDEVICEDESC, D3DFINDDEVICESEARCH, D3DLIGHTSTATETYPE