IPixSampler::GetSamplerDesc2 method

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

Syntax

HRESULT GetSamplerDesc2(
    const D3D12_SAMPLER_DESC2 ** samplerDescription);

Parameters

samplerDescription [out]

Pointer to sampler state desc.

Returns

Returns failure for samplers created via CreateSampler.

See also