Diligent::ImmutableSamplerDesc struct

Immutable sampler description.

Contents

An immutable sampler is compiled into the pipeline state and can't be changed. It is generally more efficient than a regular sampler and should be used whenever possible.

Public variables

SHADER_TYPE ShaderStages
Shader stages that this immutable sampler applies to. More than one shader stage can be specified.
const Char* SamplerOrTextureName
The name of the sampler itself or the name of the texture variable that this immutable sampler is assigned to if combined texture samplers are used.
struct SamplerDesc Desc
Sampler description.