VmaPool.
struct VmaPoolCreateInfo {
uint32_t memoryTypeIndex;
VmaPoolCreateFlags flags;
VkDeviceSize blockSize;
size_t minBlockCount;
size_t maxBlockCount;
float priority;
VkDeviceSize minAllocationAlignment;
void * pMemoryAllocateNext;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VmaPoolCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BLOCKSIZE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | MAXBLOCKCOUNT
The struct member offsets. |
| public static final int | MEMORYTYPEINDEX
The struct member offsets. |
| public static final int | MINALLOCATIONALIGNMENT
The struct member offsets. |
| public static final int | MINBLOCKCOUNT
The struct member offsets. |
| public static final int | PMEMORYALLOCATENEXT
The struct member offsets. |
| public static final int | PRIORITY
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VmaPoolCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VmaPoolCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaPoolCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo. | |
| public static VmaPoolCreateInfo. | |
| protected VmaPoolCreateInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VmaPoolCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo. | |
| public int | |
| public VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VmaPoolCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaPoolCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo | |
| public static VmaPoolCreateInfo. | |
| public static VmaPoolCreateInfo. | |
| public long | |
| public VmaPoolCreateInfo | |
| public int | |
| public VmaPoolCreateInfo | |
| public long | minAllocationAlignment()
Additional minimum alignment to be used for all allocations created from this pool. |
| public VmaPoolCreateInfo | |
| public long | minBlockCount()
minimum number of blocks to be always allocated in this pool, even if they stay empty. |
| public VmaPoolCreateInfo | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static float | |
| public static void | |
| public long | pMemoryAllocateNext()
Additional |
| public VmaPoolCreateInfo | |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkDedicatedAllocationMemoryAllocateInfoNV value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkExportMemoryAllocateInfo value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkExportMemoryAllocateInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkExportMemoryAllocateInfoNV value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkExportMemoryWin32HandleInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkExportMemoryWin32HandleInfoNV value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkExportMetalObjectCreateInfoEXT value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkImportAndroidHardwareBufferInfoANDROID value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkImportMemoryFdInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkImportMemoryHostPointerInfoEXT value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkImportMemoryWin32HandleInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkImportMemoryWin32HandleInfoNV value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkImportMetalBufferInfoEXT value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryAllocateFlagsInfo value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryAllocateFlagsInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryDedicatedAllocateInfo value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryDedicatedAllocateInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryOpaqueCaptureAddressAllocateInfo value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryOpaqueCaptureAddressAllocateInfoKHR value)
Prepends the specified |
| public VmaPoolCreateInfo | pMemoryAllocateNext(VkMemoryPriorityAllocateInfoEXT value)
Prepends the specified |
| public float | priority()
A floating-point value between 0 and 1, indicating the priority of the allocations in this pool relative to other memory allocations. |
| public VmaPoolCreateInfo | |
| public VmaPoolCreateInfo | set(int memoryTypeIndex, int flags, long blockSize, long minBlockCount, long maxBlockCount, float priority, long minAllocationAlignment, long pMemoryAllocateNext)
Initializes this struct with the specified values. |
| public VmaPoolCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |