IPixSampler::GetSamplerType method

Get the sampler type.

Syntax

PIX_SAMPLER_DESC_TYPE GetSamplerType();

Parameters

This method has no parameters.

Returns

Returns PIX_SAMPLER for samplers created via CreateSampler, PIX_SAMPLER2 for samplers created via CreateSampler2, and PIX_SAMPLER_UNKNOWN otherwise.

See also