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
VmaVirtualAllocationCreateInfo Struct Reference

Parameters of created virtual allocation to be passed to vmaVirtualAllocate(). More...

#include <vk_mem_alloc.h>

Public Attributes

VkDeviceSize size
 Size of the allocation.
 
VkDeviceSize alignment
 Required alignment of the allocation. Optional.
 
VmaVirtualAllocationCreateFlags flags
 Use combination of VmaVirtualAllocationCreateFlagBits.
 
void * pUserData
 Custom pointer to be associated with the allocation. Optional.
 

Detailed Description

Parameters of created virtual allocation to be passed to vmaVirtualAllocate().

Member Data Documentation

◆ alignment

VkDeviceSize VmaVirtualAllocationCreateInfo::alignment

Required alignment of the allocation. Optional.

Must be power of two. Special value 0 has the same meaning as 1 - means no special alignment is required, so allocation can start at any offset.

◆ flags

VmaVirtualAllocationCreateFlags VmaVirtualAllocationCreateInfo::flags

◆ pUserData

void* VmaVirtualAllocationCreateInfo::pUserData

Custom pointer to be associated with the allocation. Optional.

It can be any value and can be used for user-defined purposes. It can be fetched or changed later.

◆ size

VkDeviceSize VmaVirtualAllocationCreateInfo::size

Size of the allocation.

Cannot be zero.


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.