Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
GLOSSARY
REFERENCE
Below you will find the glossary reference for 'D3DSTATEBLOCK'
|
|
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
D3DSTATEBLOCK
[ TDx_3DI_Library ]
[ next: D3DSTENCILOP ]
[ prev: D3DSHADEMODE ]
Text and description quoted verbatim from Microsoft DirectX 7 help file, included here for convenient reference.
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;
D3DSBT_ALL
Capture all device states.
D3DSBT_PIXELSTATE
Capture only pixel-related device states.
D3DSBT_VERTEXSTATE
Capture only vertex-related device states.
D3DSBT_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.
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.
|
|