Gets the description for sampler state that you used to create the sampler-state object.
public:
void GetDesc(
D3D11_SAMPLER_DESC *pDesc
)
pDesc
Type: D3D11_SAMPLER_DESCĀ *
[out] A pointer to a D3D11_SAMPLER_DESC structure that receives a description of the sampler state.
You use the description for sampler state in a call to the ID3D11Device::CreateSamplerState method to create the sampler-state object.
If a sampler is created with D3D11X_SAMPLER_DESC, then GetDesc will always return a zeroed D3D11_SAMPLER_DESC.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).