d3d9.dllIDirect3DStateBlock9
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DStateBlock9 Interface


Applications use the methods of the IDirect3DStateBlock9 interface to encapsulate render states.

IDirect3DStateBlock9 Members

Apply Apply the state block to the current device state.
Capture Capture the device's current state.
GetDevice Gets the device.

Remarks

This interface can be used to save and restore pipeline state. It can also be used to capture the current state.

The LPDIRECT3DSTATEBLOCK9 and PDIRECT3DSTATEBLOCK9 types are defined as pointers to the IDirect3DStateBlock9 interface.

typedef struct IDirect3DStateBlock9 *LPDIRECT3DSTATEBLOCK9, *PDIRECT3DSTATEBLOCK9;

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits fromIUnknown
Headerd3d9.h
Import libraryd3d9.lib
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.