Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::BufferProperty< T > Class Template Reference

#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< PropertyRangeGet (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.
 

Detailed Description

template<class T>
class AZ::RHI::BufferProperty< T >

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.


The documentation for this class was generated from the following file: