Diligent::PipelineResourceLayoutDesc struct

Pipeline layout description.

Contents

Public variables

SHADER_RESOURCE_VARIABLE_TYPE DefaultVariableType
Default shader resource variable type. This type will be used if shader variable description is not found in the Variables array or if Variables == nullptr.
Uint32 NumVariables
Number of elements in Variables array
const ShaderResourceVariableDesc* Variables
Array of shader resource variable descriptions
Uint32 NumImmutableSamplers
Number of immutable samplers in ImmutableSamplers array
const ImmutableSamplerDesc* ImmutableSamplers
Array of immutable sampler descriptions

Variable documentation

const ShaderResourceVariableDesc* Diligent::PipelineResourceLayoutDesc::Variables

Array of shader resource variable descriptions

There may be multiple variables with the same name that use different shader stages, but the stages must not overlap.