Open 3D Engine Atom Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Parameters of created VmaVirtualBlock object to be passed to vmaCreateVirtualBlock(). More...
#include <vk_mem_alloc.h>
Public Attributes | |
VkDeviceSize | size |
Total size of the virtual block. More... | |
VmaVirtualBlockCreateFlags | flags |
Use combination of VmaVirtualBlockCreateFlagBits. | |
const VkAllocationCallbacks *VMA_NULLABLE | pAllocationCallbacks |
Custom CPU memory allocation callbacks. Optional. More... | |
Parameters of created VmaVirtualBlock object to be passed to vmaCreateVirtualBlock().
const VkAllocationCallbacks* VMA_NULLABLE VmaVirtualBlockCreateInfo::pAllocationCallbacks |
Custom CPU memory allocation callbacks. Optional.
Optional, can be null. When specified, they will be used for all CPU-side memory allocations.
VkDeviceSize VmaVirtualBlockCreateInfo::size |
Total size of the virtual block.
Sizes can be expressed in bytes or any units you want as long as you are consistent in using them. For example, if you allocate from some array of structures, 1 can mean single instance of entire structure.