C3DMesh::SetAlphaOperation

Top  Previous  Next

Syntax:

 

SetAlphaOperation(int  texStage, UINT  dwArg)

 

Purpose:

Sets the alpha operation for the texture stage.

 

Parameters:

texStage - The texture stage (0-7) this operation applies to.

dwArg - The operation to set.

 

Returned value(s):

None.

 

Application:

ret.SetAlphaArg1(0, D3DTA_DIFFUSE)
ret.SetAlphaOperation(0, D3DTOP_SELECTARG1)

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

The default operation for the texture is D3DTOP_MODULATE.

 

See Also:

Texture Blending Constants