ID3D11SamplerState interface (d3d11.h)

The sampler-state interface holds a description for sampler state that you can bind to any shader stage of the pipeline for reference by texture sample operations.

Inheritance

The ID3D11SamplerState interface inherits from ID3D11DeviceChild. ID3D11SamplerState also has these types of members:

Methods

The ID3D11SamplerState interface has these methods.

 
ID3D11SamplerState::GetDesc

Gets the description for sampler state that you used to create the sampler-state object.

Remarks

To create a sampler-state object, call ID3D11Device::CreateSamplerState.

To bind a sampler-state object to any pipeline shader stage, call the following methods:

You can bind the same sampler-state object to multiple shader stages simultaneously.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

Core Interfaces

ID3D11DeviceChild