C3DMesh::SetAlphaArg2 |
Top Previous Next |
Syntax:
SetAlphaArg2(int texStage, UINT dwArg)
Purpose: Sets the second alpha argument for the specified texture stage.
Parameters: texStage - The texture stage (0-7) that this argument applies to. dwArg - The argument to set.
Returned value(s): None.
Application: pass2.SetAlphaArg2(0, D3DTA_DIFFUSE)
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 - Use the diffuse alpha estimated from the vertices' diffuse colors in Gouraud shading process D3DTA_SPECULAR - Use the specular alpha estimated from the vertices' diffuse colors in Gouraud shading process D3DTA_TEXTURE - Use the texture alpha of this texture stage
The default argument is D3DTA_TEXTURE.
See Also:
|