Vixen
02b45cc4
csharp
public enum ResourceKind

How a shader field maps onto a GPU binding.

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

Fields and properties (7)

  • None

    Not a resource — a plain field or local.

  • Uniform

    A scalar/vector/matrix shader field: a uniform / constant-buffer entry.

  • Texture
  • Sampler
  • StorageBuffer

    A Buffer<T> or RWBuffer<T>: a storage buffer, laid out std430, whose element count the host decides. Read-only and read-write are the same descriptor type in Vulkan, so the direction lives on the field rather than here.

  • StorageImage

    A RWTexture2D<T> or RWTexture3D<T>: a texture a shader stores into, addressed by integer texel and carrying an explicit storage format.

  • AccelerationStructure

    An AccelerationStructure: the ray-tracing hierarchy the host builds and a ray query traverses. Its own kind because it is its own Vulkan descriptor type — binding one as a texture or a buffer is a pipeline the driver refuses.

Used by (21)

  • ArrayTypeSymbolVixen.Raven
  • BinderVixen.Raven
  • BufferTypeSymbolVixen.Raven
  • BuiltInNamedTypeSymbolVixen.Raven
  • BuiltInTypesVixen.Raven
  • ComposeTestsVixen.Raven.Tests
  • FieldSymbolVixen.Raven
  • LibraryFieldVixen.Raven
  • LowererVixen.Raven
  • MetadataFieldSymbolVixen.Raven
  • PermutationTestsVixen.Raven.Tests
  • SampledTextureTypeSymbolVixen.Raven
  • ShaderSemanticsTestsVixen.Raven.Tests
  • SourceFieldSymbolVixen.Raven
  • SourceNamedTypeSymbolVixen.Raven
  • SourceValueParameterSymbolVixen.Raven
  • StorageImageTypeSymbolVixen.Raven
  • SubstitutedFieldSymbolVixen.Raven
  • TypeSymbolVixen.Raven
  • ValueParameterTestsVixen.Raven.Tests
  • WritableResourceTestsVixen.Raven.Tests