ID3D10StateBlock interface (d3d10effect.h)
A state-block interface encapsulates render states.
Inheritance
The ID3D10StateBlock interface inherits from the IUnknown interface. ID3D10StateBlock also has these types of members:
Methods
The ID3D10StateBlock interface has these methods.
ID3D10StateBlock::Apply Apply the state block to the current device state. (ID3D10StateBlock.Apply) |
ID3D10StateBlock::Capture Capture the current value of states that are included in a stateblock. (ID3D10StateBlock.Capture) |
ID3D10StateBlock::GetDevice Get the device. |
ID3D10StateBlock::ReleaseAllDeviceObjects Release all references to device objects. |
Remarks
To create a state-block interface, call D3D10CreateStateBlock.
This interface can be used to save and restore pipeline state. It can also be used to capture the current state.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h (include D3D10.h) |