Platform SDK: DirectX |
The D3DMATERIALCOLORSOURCE enumerated type defines the location at which a color or color component must be accessed for lighting calculations.
typedef enum _D3DMATERIALCOLORSOURCE { D3DMCS_MATERIAL = 0, D3DMCS_COLOR1 = 1, D3DMCS_COLOR2 = 2, D3DMCS_FORCE_DWORD = 0x7fffffff, } D3DMATERIALCOLORSOURCE;
The values defined by this enumeration are used with the following render states:
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Version: Requires DirectX 7.0.
Header: Declared in d3dtypes.h.