Vixen
02b45cc4
csharp
public record class PlannedBinding

One descriptor binding: either a set's uniform block or one opaque resource.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (11)

  • public ResourceSet Set

    The descriptor set it belongs to.

  • public int Binding

    Binding index within that set.

  • public IrBindingKind Kind

    What sort of binding this is.

  • public string Name

    The name to emit. A block is named for its shader and set — LitPerMaterialUniforms — so a frame debugger showing two sets shows which is which; a resource keeps its declared name.

  • public ImmutableArray<IrBinding> Members

    The uniforms gathered into this block, in declaration order. Empty for an opaque resource.

  • public IrBinding? Resource

    The opaque resource. Null for a block.

  • public bool IsBlock

    True when this is a set's uniform block rather than an opaque resource.

  • public ImmutableArray<IrBinding> Aliases

    The other declarations of this same resource, for a [Shared] binding.

  • public IrBinding? RecordIndex

    The index of the record to read, when this block is one element of a material buffer.

  • public bool IsRecord

    Whether this block is one record of a buffer rather than a set bound per material.

  • public IEnumerable<IrBinding> Declarations

    Every declaration this covers: the resource, then its aliases.

Methods (1)

  • public PlannedBinding(ResourceSet Set, int Binding, IrBindingKind Kind, string Name, ImmutableArray<IrBinding> Members, IrBinding? Resource)

    One descriptor binding: either a set's uniform block or one opaque resource.

Used by (9)

  • BindingPlanVixen.Raven
  • ComposeInterfaceTestsVixen.Raven.Tests
  • DescriptorSetTestsVixen.Raven.Tests
  • GlslEmitterVixen.Raven
  • MaterialRecordTestsVixen.Raven.Tests
  • PushConstantTestsVixen.Raven.Tests
  • ReflectionBuilderVixen.Raven
  • SharedBindingTestsVixen.Raven.Tests
  • SpirvEmitterVixen.Raven