Platform SDK: DirectX

CONST_D3DSTATEBLOCKTYPE

The CONST_D3DSTATEBLOCK enumerated type defines logical groups of device states, for use with the Direct3DDevice7.CreateStateBlock method.

Type D3DSTATEBLOCKTYPE
    D3DSBT_ALL = 1
    D3DSBT_PIXELSTATE = 2
    D3DSBT_VERTEXSTATE = 3
End Type
D3DSBT_ALL
Capture all device states.
D3DSBT_PIXELSTATE
Capture only pixel-related device states.
D3DSBT_VERTEXSTATE
Capture only vertex-related device states.

Remarks

The D3DSBT_PIXELSTATE and D3DSBT_VERTEXSTATE values identify different logical groups of device states, though some states are common to both groups. For information about the states defined by each group, see Creating Predefined State Blocks.

See Also

Direct3DDevice7.CreateStateBlock