HDK
|
#include <VE_Memory.h>
Public Member Functions | |
VkDeviceMemory | getVkMem () const |
VkDeviceSize | getOffset () const |
VkDeviceSize | getSize () const |
const VmaAllocationInfo & | allocInfo () const |
UT_NON_COPYABLE (VE_Memory) | |
VE_MemType | getType () const |
void * | mapMemory () |
void | unmapMemory () |
void * | mappedPointer () |
const void * | mappedPointer () const |
bool | isCoherent () const |
bool | isDedicated () const |
VE_Memory (VE_Memory &&other) noexcept | |
VE_Memory & | operator= (VE_Memory &&other) noexcept |
virtual | ~VE_Memory () |
Friends | |
class | VE_MemoryAllocator |
A block of memory as allocated by VE_MemoryAllocator. Will free itself when it goes out of scope. It represents a block of bytes, and should in general be used to as a backing member in some higher level, resource-like class, such as a Buffer or Image class.
Definition at line 115 of file VE_Memory.h.
|
inlinenoexcept |
Definition at line 139 of file VE_Memory.h.
|
virtual |
|
inline |
Definition at line 122 of file VE_Memory.h.
|
inline |
Definition at line 119 of file VE_Memory.h.
|
inline |
Definition at line 120 of file VE_Memory.h.
|
inline |
Definition at line 128 of file VE_Memory.h.
|
inline |
Definition at line 118 of file VE_Memory.h.
|
inline |
Definition at line 136 of file VE_Memory.h.
|
inline |
Definition at line 137 of file VE_Memory.h.
void* VE_Memory::mapMemory | ( | ) |
|
inline |
Definition at line 133 of file VE_Memory.h.
|
inline |
Definition at line 134 of file VE_Memory.h.
Definition at line 144 of file VE_Memory.h.
void VE_Memory::unmapMemory | ( | ) |
VE_Memory::UT_NON_COPYABLE | ( | VE_Memory | ) |
|
friend |
Definition at line 169 of file VE_Memory.h.
VE_MemFlags VE_Memory::flags |
Definition at line 177 of file VE_Memory.h.
void* VE_Memory::mappedPtr |
Definition at line 176 of file VE_Memory.h.
VE_MemType VE_Memory::type |
Definition at line 175 of file VE_Memory.h.