Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Device::ClearState method

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();

Parameters

This method has no parameters.

Return value

Returns nothing.

Requirements

Header

D3d10core

See also

ID3D10Device Interface

 

 

Show:
© 2017 Microsoft