csharp
public readonly record struct DescriptorSetLayoutDescriptionThe 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 SlotWhich of the four conventional sets this is.
public DescriptorBinding[] BindingsWhat it contains.
public string NameA name for the debugger and the validation layers.
public int BindlessCapacityHow 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