DirectX SDK |
The IDirect3DDevice7::SetTransform and IDirect3DDevice7::SetTransform methods recognize the D3DTRANSFORMSTATE_WORLD, D3DTRANSFORMSTATE_WORLD1, D3DTRANSFORMSTATE_WORLD2, and D3DTRANSFORMSTATE_WORLD3 members of the D3DTRANSFORMSTATETYPE enumerated type to identify the matrices between which geometry will be blended. (The D3DTRANSFORMSTATE_WORLD member might be thought of as "D3DTRANSFORMSTATE_WORLD0".)
The D3DRENDERSTATETYPE enumerated type includes the D3DRENDERSTATE_VERTEXBLEND render state to enable and control geometry blending. Valid values for this renderstate are defined by the D3DVERTEXBLENDFLAGS enumerated type, which includes the D3DVBLEND_DISABLE, D3DVBLEND_1WEIGHT, D3DVBLEND_2WEIGHT, D3DVBLEND_3WEIGHT members. If geometry blending is enabled, the vertex format must include the appropriate number of blending weights.
The Direct3DDevice7.SetTransform and Direct3DDevice7.SetTransform methods recognize the D3DTRANSFORMSTATE_WORLD, D3DTRANSFORMSTATE_WORLD1, D3DTRANSFORMSTATE_WORLD2, and D3DTRANSFORMSTATE_WORLD3 members of the CONST_D3DTRANSFORMSTATETYPE enumeration to identify the matrices between which geometry will be blended. (The D3DTRANSFORMSTATE_WORLD member might be thought of as "D3DTRANSFORMSTATE_WORLD0".)
The CONST_D3DRENDERSTATETYPE enumeration includes the D3DRENDERSTATE_VERTEXBLEND render state to enable and control geometry blending. Valid values for this renderstate are defined by the CONST_D3DVERTEXBLENDFLAGS enumerated type, which includes the D3DVBLEND_DISABLE, D3DVBLEND_1WEIGHT, D3DVBLEND_2WEIGHT, D3DVBLEND_3WEIGHT members. If geometry blending is enabled, the vertex format must include the appropriate number of blending weights.
Setting Blending Matrices, Enabling Geometry Blending, Blending Weights