#include <BufferProperty.h>
Classes | |
struct | PropertyRange |
Describes the property value of one range of the buffer. More... | |
Public Member Functions | |
void | Init (const BufferDescriptor &descriptor) |
Initialize the buffer property. | |
bool | IsInitialized () const |
Returns if has been initialized. | |
void | Set (const BufferSubresourceRange &range, const T &property) |
Sets a new value over a buffer range. | |
AZStd::vector< PropertyRange > | Get (const BufferSubresourceRange &range) const |
Returns a list with all the property values over a buffer range. | |
void | Reset () |
Removes all property values that were previously set. | |
Utility class to track a property value over multiple ranges of a buffer. This class will keep track of the values that each buffer range has and will merge continuous ranges that have the same property value. For example, this could be use to keep track of queue ownership over a buffer range.