ID3D10StateBlock::Capture method (d3d10effect.h)

Capture the current value of states that are included in a stateblock.

Syntax

HRESULT Capture();

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Remarks

Capture captures current values for states within an existing state block. It does not capture the entire state of the device. Creating an empty stateblock and calling Capture does nothing if no states have been set.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h (include D3D10.h)
Library D3D10.lib

See also

ID3D10StateBlock Interface