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::MemoryAllocation< MemoryType > Struct Template Reference

Represents a memory allocation of GPU memory. It contains a smart pointer to the Memory type. More...

#include <MemoryAllocation.h>

Public Member Functions

 MemoryAllocation (Ptr< MemoryType > memory, size_t offset, size_t size, size_t alignment)
 

Public Attributes

Ptr< MemoryType > m_memory
 A ref-counting pointer to the base memory chunk.
 
size_t m_offset = 0
 A byte offset into the memory chunk.
 
size_t m_size = 0
 The size in bytes of the allocation.
 
size_t m_alignment = 0
 The alignment in bytes of the allocation.
 

Detailed Description

template<typename MemoryType>
struct AZ::RHI::MemoryAllocation< MemoryType >

Represents a memory allocation of GPU memory. It contains a smart pointer to the Memory type.


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