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::RPI::BufferAsset Class Referencefinal

#include <BufferAsset.h>

Inherits AZ::Data::AssetData.

Public Member Functions

 AZ_RTTI (BufferAsset, "{F6C5EA8A-1DB3-456E-B970-B6E2AB262AED}", Data::AssetData)
 
 AZ_CLASS_ALLOCATOR (BufferAsset, AZ::SystemAllocator)
 
AZStd::span< const uint8_t > GetBuffer () const
 
const RHI::BufferDescriptorGetBufferDescriptor () const
 
const RHI::BufferViewDescriptorGetBufferViewDescriptor () const
 Returns the descriptor for a view of the entire buffer.
 
const Data::Asset< ResourcePoolAsset > & GetPoolAsset () const
 
CommonBufferPoolType GetCommonPoolType () const
 
const AZStd::string & GetName () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Static Public Attributes

static const char * DisplayName
 
static const char * Extension
 
static const char * Group
 

Friends

class BufferAssetCreator
 

Detailed Description

An asset representation of a buffer meant to be uploaded to the GPU. For example: vertex buffer, index buffer, etc


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