IPixSampler::GetSamplerDesc method

Get the sampler state desc struct for samplers created via CreateSampler.

Syntax

HRESULT GetSamplerDesc(
    const D3D12_SAMPLER_DESC ** samplerDescription);

Parameters

samplerDescription [out]

Pointer to sampler state desc.

Returns

Returns failure for samplers created via CreateSampler2.

See also