| Microsoft DirectX 8.1 (Visual Basic) | 
Defines the location at which a color or color component must be accessed for lighting calculations.
Enum CONST_D3DMATERIALCOLORSOURCE
    D3DMCS_MATERIAL = 0
    D3DMCS_COLOR1   = 1
    D3DMCS_COLOR2   = 2
End Enum
These flags are used to set the value of the following render states for the CONST_D3DRENDERSTATETYPE enumeration.