Platform SDK: DirectX

CONST_D3DVERTEXBLENDFLAGS

The CONST_D3DVERTEXBLENDFLAGS enumeration defines flags used to control the number or matrices that the system applies when performing geometry blending. Members of this enumeration are used with the D3DRENDERSTATE_VERTEXBLEND render state.

Enum CONST_D3DVERTEXBLENDFLAGS
    D3DVBLEND_1WEIGHT = 1
    D3DVBLEND_2WEIGHTS = 2
    D3DVBLEND_3WEIGHTS = 3
    D3DVBLEND_DISABLE = 0
End Enum
D3DVBLEND_1WEIGHT
Enable vertex blending between the two matrices set by the D3DTRANSFORMSTATE_WORLD and D3DTRANSFORMSTATE_WORLD1 transformation states.
D3DVBLEND_2WEIGHTS
Enable vertex blending between the three matrices set by the D3DTRANSFORMSTATE_WORLD, D3DTRANSFORMSTATE_WORLD1, and D3DTRANSFORMSTATE_WORLD2 transformation states.
D3DVBLEND_3WEIGHTS
Enable vertex blending between the four matrices set by the D3DTRANSFORMSTATE_WORLD, D3DTRANSFORMSTATE_WORLD1, D3DTRANSFORMSTATE_WORLD2, and D3DTRANSFORMSTATE_WORLD3 transformation states.
D3DVBLEND_DISABLE
Disable vertex blending; only apply the world matrix specified by the D3DTRANSFORMSTATE_WORLD transformation state.

Remarks

Geometry blending (multi-matrix vertex blending) requires that your application use a vertex format that has blending (beta) weights for each vertex.

See Also

CONST_D3DRENDERSTATETYPE, CONST_D3DTRANSFORMSTATETYPE, Direct3DDevice7.SetTransform, Geometry Blending