Vixen
02b45cc4
csharp
public readonly record struct DescriptorBinding

One 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 Binding

    Its index within the set.

  • public DescriptorKind Kind

    What it binds.

  • public ShaderStage Stages

    Which shader stages see it.

  • public int Count

    How 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 SampleType

    What 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 IsComparisonSampler

    Whether this declares the shadow-comparison sampler a shadow map is read through.

  • public bool Filters

    Whether a sampler bound here is allowed to filter.

Methods (1)

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