Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DMATERIALCOLORSOURCE

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

Constants

D3DMCS_MATERIAL
Use the color from the current material.
D3DMCS_COLOR1
Use the diffuse vertex color.
D3DMCS_COLOR2
Use the specular vertex color.

Remarks

These flags are used to set the value of the following render states for the CONST_D3DRENDERSTATETYPE enumeration.

See Also

CONST_D3DRENDERSTATETYPE