ID3D10StateBlock::Apply method (d3d10effect.h)

Apply the state block to the current device state.

Syntax

HRESULT Apply();

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

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

See also

ID3D10StateBlock Interface