Buffer for holding vertex attribute data to be trasferred to the GPU for mesh rendering.
More...
#include <WhiteBoxBuffer.h>
|
| Buffer (const AZStd::vector< VertexStreamDataType > &data) |
| Constructs the buffer from the specified data in vertex stream format.
|
|
const AZ::Data::Asset< AZ::RPI::BufferAsset > & | GetBuffer () const |
| Retrieves the buffer asset.
|
|
const AZ::RHI::BufferViewDescriptor & | GetBufferViewDescriptor () const |
| Retrieves the buffer view descriptor.
|
|
const AZ::RPI::BufferAssetView & | GetBufferAssetView () const |
| Retrieves the buffer asset view.
|
|
bool | IsValid () const |
| Returns true of the buffer is valid, otherwise false.
|
|
bool | UpdateData (const AZStd::vector< VertexStreamDataType > &data) |
| Update the buffer contents with the new data.
|
|
template<typename VertexStreamDataType>
class WhiteBox::Buffer< VertexStreamDataType >
Buffer for holding vertex attribute data to be trasferred to the GPU for mesh rendering.
The documentation for this class was generated from the following file:
- Gems/WhiteBox/Code/Source/Rendering/Atom/WhiteBoxBuffer.h