Open 3D Engine WhiteBox Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Buffer for holding vertex attribute data to be trasferred to the GPU for mesh rendering. More...
#include <WhiteBoxBuffer.h>
Public Member Functions | |
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. | |
Buffer for holding vertex attribute data to be trasferred to the GPU for mesh rendering.