public enum ResourceKindHow 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)
NoneNot a resource — a plain field or local.
UniformA scalar/vector/matrix shader field: a uniform / constant-buffer entry.
TextureSamplerStorageBufferA 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.
StorageImageA RWTexture2D<T> or RWTexture3D<T>: a texture a shader stores into, addressed by integer texel and carrying an explicit storage format.
AccelerationStructureAn 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