Luna::RHI::BufferViewDesc
Describes one buffer view in descriptor set.
struct Luna::RHI::BufferViewDesc
Member objects
-
If this is a uniform buffer, specify the offset, in bytes, of the data to be viewed. If this is a structured buffer, specify the index of the first element to be accessed by the view.
-
The buffer to set.
-
The number of elements in this view. This must be set to 1 if this is a uniform buffer view.
-
If this is a uniform buffer, specify the size, in bytes, of the uniform buffer. If this is a structured buffer, specify the size, in bytes, of each element in the buffer structure.