Luna::RHI::WriteDescriptorSet
Describes one descriptor set write operation. Every descriptor set write operation may update one continuous range of descriptors in the same binding slot.
struct Luna::RHI::WriteDescriptorSet
Member objects
-
The binding slot of the descriptors to update.
-
The slot offset of the first descriptor to update relative to the binding slot.
-
The number of descriptors to write.
-
The type of the descriptors to write. This must be equal to the actual type of the descriptors in the descriptor array.
-
const BufferViewDesc* buffer_views
The pointer to buffer view descriptors data array to be written. This array must have at least
num_descs
elements, and will be used iftype
is DescriptorType::uniform_buffer_view, DescriptorType::read_buffer_view or DescriptorType::read_write_buffer_view. -
const TextureViewDesc* texture_views
The pointer to texture view descriptors data array to be written. This array must have at least
num_descs
elements, and will be used iftype
is DescriptorType::read_texture_view and DescriptorType::read_write_texture_view. -
The pointer to sampler descriptors data array to be written. This array must have at least
num_descs
elements, and will be used iftype
is DescriptorType::sampler.