Class BindingSlotMap
- Namespace
- ShadowDusk.Core.Reflection
- Assembly
- ShadowDusk.Core.dll
Maps texture and sampler names to their bind slots, used to align reflected resource names with the slots emitted in the compiled shader.
public sealed record BindingSlotMap : IEquatable<BindingSlotMap>
- Inheritance
-
BindingSlotMap
- Implements
- Inherited Members
Fields
Empty
An empty map with no texture or sampler bindings.
public static readonly BindingSlotMap Empty
Field Value
Properties
Samplers
Sampler name → bind slot.
public required IReadOnlyDictionary<string, int> Samplers { get; init; }
Property Value
Textures
Texture name → bind slot.
public required IReadOnlyDictionary<string, int> Textures { get; init; }