DirectX SDK |
The D3DSTATEBLOCK enumerated type defines logical groups of device states, for use with the IDirect3DDevice7::CreateStateBlock method.
typedef enum _D3DSTATEBLOCKTYPE{ D3DSBT_ALL = 1, D3DSBT_PIXELSTATE = 2, D3DSBT_VERTEXSTATE = 3, D3DSBT_FORCE_DWORD = 0xffffffff } D3DSTATEBLOCKTYPE;
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.
Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3dtypes.h.