Vulkan Memory Allocator
|
Classes | |
struct | VmaMemoryRequirements |
Typedefs | |
typedef enum VmaMemoryUsage | VmaMemoryUsage |
typedef struct VmaMemoryRequirements | VmaMemoryRequirements |
Enumerations | |
enum | VmaMemoryUsage { VMA_MEMORY_USAGE_UNKNOWN = 0, VMA_MEMORY_USAGE_GPU_ONLY = 1, VMA_MEMORY_USAGE_CPU_ONLY = 2, VMA_MEMORY_USAGE_CPU_TO_GPU = 3, VMA_MEMORY_USAGE_GPU_TO_CPU = 4, VMA_MEMORY_USAGE_MAX_ENUM = 0x7FFFFFFF } |
Functions | |
VkResult | vmaFindMemoryTypeIndex (VmaAllocator allocator, uint32_t memoryTypeBits, const VmaMemoryRequirements *pMemoryRequirements, uint32_t *pMemoryTypeIndex) |
typedef struct VmaMemoryRequirements VmaMemoryRequirements |
typedef enum VmaMemoryUsage VmaMemoryUsage |
enum VmaMemoryUsage |
VkResult vmaFindMemoryTypeIndex | ( | VmaAllocator | allocator, |
uint32_t | memoryTypeBits, | ||
const VmaMemoryRequirements * | pMemoryRequirements, | ||
uint32_t * | pMemoryTypeIndex | ||
) |
This algorithm tries to find a memory type that: