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.
Members
The ID3D11SamplerState interface inherits from ID3D11DeviceChild. ID3D11SamplerState also has these types of members:
Methods
The ID3D11SamplerState interface has these methods.
| Method | Description |
|---|---|
| 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:
- ID3D11DeviceContext::VSSetSamplers
- ID3D11DeviceContext::HSSetSamplers
- ID3D11DeviceContext::DSSetSamplers
- ID3D11DeviceContext::GSSetSamplers
- ID3D11DeviceContext::PSSetSamplers
- ID3D11DeviceContext::CSSetSamplers
You can bind the same sampler-state object to multiple shader stages simultaneously.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
Library |
|
See also