Luna::RHI::DescriptorType
enum DescriptorType : u8
{
uniform_buffer_view
read_buffer_view
read_write_buffer_view
read_texture_view
read_write_texture_view
sampler
}
Specifies the type of descriptors that can be placed in a descriptor set.
Options
-
Specifies uniform buffer view, which allows reading data from one uniform buffer. This descriptor is supported in all shaders.
-
Specifies read buffer view, which allows reading data from one structured buffer. This descriptor is supported in all shaders.
-
Speciifes read-write buffer view, which allows reading and writing data from one structured buffer. This descriptor is supported in compute shader only.
-
Specifies read texture view, which allows reading texture data using pixel coordinates directly or sampling texture data from the texture using samplers. This descriptor is supported in all shaders.
-
Specifies read-write texture view, which allows reading and writing texture data using pixel coordinates directly. This descriptor is supported in compute shader only.
-
Specifies one sampler. This descriptor is supported in all shaders.