ID3D10StateBlock::Capture method

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

Syntax


HRESULT Capture();

Parameters

This method has no parameters.

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

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10StateBlock Interface

 

 

Show: