ID3D11SamplerState interface

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.

Methods

The ID3D11SamplerState interface has these methods.

Method Description
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

   
Windows version Windows 7 [desktop apps | UWP apps] Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See Also

Core Interfaces

ID3D11DeviceChild