ID3D10Device::ClearState method (d3d10.h)

Restore all default device settings; return the device to the state it was in when it was created. This will set all set all input/output resource slots, shaders, input layouts, predications, scissor rectangles, depth-stencil state, rasterizer state, blend state, sampler state, and viewports to NULL. The primitive topology will be set to UNDEFINED.

Syntax

void ClearState();

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d10.h (include D3d10core)

See also

ID3D10Device Interface