C3DMesh::SetColorArg2 |
Top Previous Next |
Syntax:
SetColorArg2(int texStage, UINT dwArg)
Purpose: Sets the second color argument for the texture blending stage.
Parameters: texStage - The texture stage (0-7) that this argument applies to. dwArg - The argument to set.
Returned value(s): None.
Application: 'PASS 2
Class Hierarchy -------C3DMesh
Additional Info: Used for advanced multi texturing control. dwArg can be one of:
D3DTA_CURRENT - Use the result of the previous texture stage, for the 0th stage, it is the same as D3DTA_DIFFUSE D3DTA_DIFFUSE - The texture argument is the diffuse color interpolated from vertex components during Gouraud shading. If the vertex does not contain a diffuse color, the default color is 0xffffffff. D3DTA_SPECULAR - The texture argument is the specular color interpolated from vertex components during Gouraud shading. If the vertex does not contain a specular color, the default color is 0xffffffff. D3DTA_TEXTURE - The texture argument is the texture color for this texture stage.
The default argument is D3DTA_TEXTURE.
See Also:
|