Microsoft DirectX 8.0 (Visual Basic)

Blending Transform and Render States

The Direct3DDevice8.SetTransform method recognizes the D3DTS_WORLD, D3DTS_WORLD1, D3DTS_WORLD2, and D3DTS_WORLD3 members of the CONST_D3DTRANSFORMSTATETYPE enumeration to identify the matrices between which geometry will be blended. The D3DTS_WORLD member might be thought of as D3DTS_WORLD0.

The CONST_D3DRENDERSTATETYPE enumeration includes the D3DRS_VERTEXBLEND render state to enable and control geometry blending. Valid values for this render state are defined by the CONST_D3DVERTEXBLENDFLAGS enumerated type. If geometry blending is enabled, the vertex format must include the appropriate number of blending weights.

See Also

Setting Blending Matrices, Enabling Geometry Blending, Blending Weights