struct UniformInformation

Information how a resource maps to a certain uniform set/slot.

Public

Fields

Name

String Name

ObjectType

More specialized type compared to Type.

ElementType

GpuBufferFormat ElementType

For textures and non-structured buffers, type stored in each element.

Set

u32 Set

Slot

u32 Slot

ArraySize

u32 ArraySize

DynamicOffsetIndex

u32 DynamicOffsetIndex

Usage

GpuProgramStageBits Usage

SequentialBindingIndex

u32 SequentialBindingIndex

Mapping into the UniformsPerType array, for the current type.

SequentialResourceIndex

u32 SequentialResourceIndex

Similar to SequentialBindingIndex, but accounts for array size of each entry of the same type prior to this entry.

SequentialSamplerBindingIndex

u32 SequentialSamplerBindingIndex

Mapping into the UniformsPerType array for the sampler, if this uniform is a combined texture/sampler.

SequentialSamplerResourceIndex

u32 SequentialSamplerResourceIndex

Similar to SequentialSamplerBindingIndex, but accounts for array size of each entry of the same type prior to this entry.