ID3D11SamplerState::GetDesc method

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

Syntax


void GetDesc(
  [out] D3D11_SAMPLER_DESC *pDesc
);

Parameters

pDesc [out]

Type: D3D11_SAMPLER_DESC*

A pointer to a D3D11_SAMPLER_DESC structure that receives a description of the sampler state.

Return value

Returns nothing.

Remarks

You use the description for sampler state in a call to the ID3D11Device::CreateSamplerState method to create the sampler-state object.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11SamplerState

 

 

Show: