Vixen
02b45cc4

DescriptorSetLayoutDescription

struct Core/Vixen.Graphics/Pipelines.cs:212
csharp
public readonly record struct DescriptorSetLayoutDescription

The shape of one descriptor set.

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

Fields and properties (4)

  • public DescriptorSetSlot Slot

    Which of the four conventional sets this is.

  • public DescriptorBinding[] Bindings

    What it contains.

  • public string Name

    A name for the debugger and the validation layers.

  • public int BindlessCapacity

    How many descriptors an unbounded binding in this set holds, or 0 for the device's MaxBindlessDescriptors.

Methods (3)

  • public DescriptorSetLayoutDescription(DescriptorSetSlot Slot, DescriptorBinding[] Bindings, string Name = "", int BindlessCapacity = 0)

    The shape of one descriptor set.

  • public int CapacityFor(in GraphicsDeviceFeatures features)

    How long an unbounded binding in this set actually is, on a given device.

  • public void Validate()

    Checks the layout is one a backend could build.

Used by (11)

  • DescriptorLayoutTestsVixen.Graphics.Tests
  • EffectLoaderVixen.Shaders
  • FixtureVixen.Graphics.Golden.Tests
  • GlDescriptorSetLayoutVixen.Graphics.OpenGL
  • GlDeviceVixen.Graphics.OpenGL
  • IGraphicsDeviceVixen.Graphics
  • NullDeviceVixen.Graphics.Null
  • VideoRendererVixen.Video.Rendering
  • VulkanDeviceVixen.Graphics.Vulkan
  • WebGpuDescriptorSetLayoutVixen.Graphics.WebGPU
  • WebGpuDeviceVixen.Graphics.WebGPU