csharp
public readonly record struct DescriptorBindingOne binding in a descriptor set.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public uint BindingIts index within the set.
public DescriptorKind KindWhat it binds.
public ShaderStage StagesWhich shader stages see it.
public int CountHow many descriptors, for an array binding. 0 means the length is not in the shader — which is two different things depending on the kind, and IsUnbounded is where they are told apart.
public DescriptorSampleType SampleTypeWhat a SampledTexture holds, or what a Sampler does — see DescriptorSampleType. Ignored for anything else, and required to be left alone there rather than set to something a backend would have to invent a meaning for.
public bool IsComparisonSamplerWhether this declares the shadow-comparison sampler a shadow map is read through.
public bool FiltersWhether a sampler bound here is allowed to filter.
Methods (1)
public DescriptorBinding(uint Binding, DescriptorKind Kind, ShaderStage Stages, int Count = 1, DescriptorSampleType SampleType = Float)One binding in a descriptor set.
Used by (26)
- AlwaysCompilesVixen.Rendering.Tests
- AlwaysCompilesVixen.Rendering.Tests
- AutoExposureTestsVixen.Rendering.PostFx.Tests
- BloomTestsVixen.Rendering.PostFx.Tests
- DescriptorBindingExtensionsVixen.Graphics
- DescriptorLayoutTestsVixen.Graphics.Tests
- DescriptorSetLayoutDescriptionVixen.Graphics
- EffectLoaderVixen.Shaders
- GlBindingPlanVixen.Graphics.OpenGL
- GlDescriptorSetVixen.Graphics.OpenGL
- GlDescriptorSetLayoutVixen.Graphics.OpenGL
- GlDeviceVixen.Graphics.OpenGL
- NullDescriptorSetLayoutVixen.Graphics.Null
- NullDeviceVixen.Graphics.Null
- PostEffectTestsVixen.Rendering.PostFx.Tests
- ShaderRunVixen.Raven.Gpu.Tests
- VfxGpuSimulationVixen.Rendering
- VideoRendererVixen.Video.Rendering
- VulkanDescriptorSetLayoutVixen.Graphics.Vulkan
- VulkanDeviceVixen.Graphics.Vulkan
- VulkanDeviceTestsVixen.Graphics.Vulkan.Tests
- WebGpuConversionTestsVixen.Graphics.WebGPU.Tests
- WebGpuConversionsVixen.Graphics.WebGPU
- WebGpuDescriptorSetLayoutVixen.Graphics.WebGPU
- WebGpuDeviceVixen.Graphics.WebGPU
- WebGpuDeviceTestsVixen.Graphics.WebGPU.Tests