#include <MemoryView.h>
Inherited by AZ::Metal::BufferMemoryView.
Public Member Functions | |
| MemoryView (RHI::Ptr< Memory > memory, size_t offset, size_t size, size_t alignment) | |
| MemoryView (const MemoryAllocation &memAllocation) | |
| MemoryView (const MemoryView &rhs)=default | |
| MemoryView (MemoryView &&rhs)=default | |
| MemoryView & | operator= (const MemoryView &rhs)=default |
| MemoryView & | operator= (MemoryView &&rhs)=default |
| bool | IsValid () const |
| size_t | GetOffset () const |
| size_t | GetSize () const |
| size_t | GetAlignment () const |
| Memory * | GetMemory () const |
| void | SetName (const AZStd::string_view &name) |
| MTLStorageMode | GetStorageMode () |
| void * | GetCpuAddress () const |
| template<typename T > | |
| T | GetGpuAddress () const |
Friends | |
| class | BufferMemoryAllocator |
Represents a view into GPU/CPU memory. It contains a pointer to void* for now. The contents will be interpreted slightly differently for buffer and image resources.