Vulkan Memory Allocator
|
#include <vk_mem_alloc.h>
Public Attributes | |
VmaMemoryRequirementFlags | flags |
VmaMemoryUsage | usage |
Intended usage of memory. More... | |
VkMemoryPropertyFlags | requiredFlags |
Flags that must be set in a Memory Type chosen for an allocation. More... | |
VkMemoryPropertyFlags | preferredFlags |
Flags that preferably should be set in a Memory Type chosen for an allocation. More... | |
void * | pUserData |
Custom general-purpose pointer that will be stored in VmaAllocation, can be read as VmaAllocationInfo::pUserData and changed using vmaSetAllocationUserData(). More... | |
VmaMemoryRequirementFlags VmaMemoryRequirements::flags |
VkMemoryPropertyFlags VmaMemoryRequirements::preferredFlags |
Flags that preferably should be set in a Memory Type chosen for an allocation.
Set to 0 if no additional flags are prefered and only requiredFlags should be used. If not 0, it must be a superset or equal to requiredFlags.
void* VmaMemoryRequirements::pUserData |
Custom general-purpose pointer that will be stored in VmaAllocation, can be read as VmaAllocationInfo::pUserData and changed using vmaSetAllocationUserData().
VkMemoryPropertyFlags VmaMemoryRequirements::requiredFlags |
Flags that must be set in a Memory Type chosen for an allocation.
Leave 0 if you specify requirement via usage.
VmaMemoryUsage VmaMemoryRequirements::usage |
Intended usage of memory.
Leave VMA_MEMORY_USAGE_UNKNOWN if you specify requiredFlags. You can also use both.