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.

Syntax

interface ID3D11SamplerState : public ID3D11DeviceChild  

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

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11SamplerState Members