The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Vulkan Memory Allocator
Loading...
Searching...
No Matches
VmaVirtualBlockCreateInfo Struct Reference

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.
 
VmaVirtualBlockCreateFlags flags
 Use combination of VmaVirtualBlockCreateFlagBits.
 
const VkAllocationCallbacks * pAllocationCallbacks
 Custom CPU memory allocation callbacks. Optional.
 

Detailed Description

Parameters of created VmaVirtualBlock object to be passed to vmaCreateVirtualBlock().

Member Data Documentation

◆ flags

VmaVirtualBlockCreateFlags VmaVirtualBlockCreateInfo::flags

Use combination of VmaVirtualBlockCreateFlagBits.

◆ pAllocationCallbacks

const VkAllocationCallbacks* VmaVirtualBlockCreateInfo::pAllocationCallbacks

Custom CPU memory allocation callbacks. Optional.

Optional, can be null. When specified, they will be used for all CPU-side memory allocations.

◆ size

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.


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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.