Represents a memory allocation of GPU memory. It contains a smart pointer to the Memory type.
More...
#include <MemoryAllocation.h>
|
| MemoryAllocation (Ptr< MemoryType > memory, size_t offset, size_t size, size_t alignment) |
|
|
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.
|
|
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:
- Gems/Atom/RHI/Code/Include/Atom/RHI/MemoryAllocation.h