Saving All Device States with a StateBlock
Microsoft DirectX 9.0 SDK Update (October 2004)

Saving All Device States with a StateBlock


A state block can be used to capture all device states (see State Blocks Save and Restore State). The following state elements are included in the device state:

To capture all device states with a state block, specify D3DSBT_ALL when calling IDirect3DDevice9::CreateStateBlock.



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