Class VkMemAlloc

java.lang.Object
overrungl.vma.VkMemAlloc

public final class VkMemAlloc extends Object
Since:
0.1.0
Author:
squid233
  • Field Details

    • VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT

      public static final int VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT

      public static final int VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT

      public static final int VMA_ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT

      public static final int VMA_ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_AMD_DEVICE_COHERENT_MEMORY_BIT

      public static final int VMA_ALLOCATOR_CREATE_AMD_DEVICE_COHERENT_MEMORY_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_BUFFER_DEVICE_ADDRESS_BIT

      public static final int VMA_ALLOCATOR_CREATE_BUFFER_DEVICE_ADDRESS_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_EXT_MEMORY_PRIORITY_BIT

      public static final int VMA_ALLOCATOR_CREATE_EXT_MEMORY_PRIORITY_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE4_BIT

      public static final int VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE4_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE5_BIT

      public static final int VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE5_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_KHR_EXTERNAL_MEMORY_WIN32_BIT

      public static final int VMA_ALLOCATOR_CREATE_KHR_EXTERNAL_MEMORY_WIN32_BIT
      See Also:
    • VMA_ALLOCATOR_CREATE_FLAG_BITS_MAX_ENUM

      public static final int VMA_ALLOCATOR_CREATE_FLAG_BITS_MAX_ENUM
      See Also:
    • VMA_MEMORY_USAGE_UNKNOWN

      public static final int VMA_MEMORY_USAGE_UNKNOWN
      See Also:
    • VMA_MEMORY_USAGE_GPU_ONLY

      public static final int VMA_MEMORY_USAGE_GPU_ONLY
      See Also:
    • VMA_MEMORY_USAGE_CPU_ONLY

      public static final int VMA_MEMORY_USAGE_CPU_ONLY
      See Also:
    • VMA_MEMORY_USAGE_CPU_TO_GPU

      public static final int VMA_MEMORY_USAGE_CPU_TO_GPU
      See Also:
    • VMA_MEMORY_USAGE_GPU_TO_CPU

      public static final int VMA_MEMORY_USAGE_GPU_TO_CPU
      See Also:
    • VMA_MEMORY_USAGE_CPU_COPY

      public static final int VMA_MEMORY_USAGE_CPU_COPY
      See Also:
    • VMA_MEMORY_USAGE_GPU_LAZILY_ALLOCATED

      public static final int VMA_MEMORY_USAGE_GPU_LAZILY_ALLOCATED
      See Also:
    • VMA_MEMORY_USAGE_AUTO

      public static final int VMA_MEMORY_USAGE_AUTO
      See Also:
    • VMA_MEMORY_USAGE_AUTO_PREFER_DEVICE

      public static final int VMA_MEMORY_USAGE_AUTO_PREFER_DEVICE
      See Also:
    • VMA_MEMORY_USAGE_AUTO_PREFER_HOST

      public static final int VMA_MEMORY_USAGE_AUTO_PREFER_HOST
      See Also:
    • VMA_MEMORY_USAGE_MAX_ENUM

      public static final int VMA_MEMORY_USAGE_MAX_ENUM
      See Also:
    • VMA_ALLOCATION_CREATE_DEDICATED_MEMORY_BIT

      public static final int VMA_ALLOCATION_CREATE_DEDICATED_MEMORY_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_NEVER_ALLOCATE_BIT

      public static final int VMA_ALLOCATION_CREATE_NEVER_ALLOCATE_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_MAPPED_BIT

      public static final int VMA_ALLOCATION_CREATE_MAPPED_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_USER_DATA_COPY_STRING_BIT

      public static final int VMA_ALLOCATION_CREATE_USER_DATA_COPY_STRING_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_UPPER_ADDRESS_BIT

      public static final int VMA_ALLOCATION_CREATE_UPPER_ADDRESS_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_DONT_BIND_BIT

      public static final int VMA_ALLOCATION_CREATE_DONT_BIND_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT

      public static final int VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_CAN_ALIAS_BIT

      public static final int VMA_ALLOCATION_CREATE_CAN_ALIAS_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT

      public static final int VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT

      public static final int VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT

      public static final int VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT

      public static final int VMA_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT

      public static final int VMA_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_STRATEGY_MIN_OFFSET_BIT

      public static final int VMA_ALLOCATION_CREATE_STRATEGY_MIN_OFFSET_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_STRATEGY_BEST_FIT_BIT

      public static final int VMA_ALLOCATION_CREATE_STRATEGY_BEST_FIT_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_STRATEGY_FIRST_FIT_BIT

      public static final int VMA_ALLOCATION_CREATE_STRATEGY_FIRST_FIT_BIT
      See Also:
    • VMA_ALLOCATION_CREATE_FLAG_BITS_MAX_ENUM

      public static final int VMA_ALLOCATION_CREATE_FLAG_BITS_MAX_ENUM
      See Also:
    • VMA_POOL_CREATE_IGNORE_BUFFER_IMAGE_GRANULARITY_BIT

      public static final int VMA_POOL_CREATE_IGNORE_BUFFER_IMAGE_GRANULARITY_BIT
      See Also:
    • VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT

      public static final int VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT
      See Also:
    • VMA_POOL_CREATE_ALGORITHM_MASK

      public static final int VMA_POOL_CREATE_ALGORITHM_MASK
      See Also:
    • VMA_POOL_CREATE_FLAG_BITS_MAX_ENUM

      public static final int VMA_POOL_CREATE_FLAG_BITS_MAX_ENUM
      See Also:
    • VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FAST_BIT

      public static final int VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FAST_BIT
      See Also:
    • VMA_DEFRAGMENTATION_FLAG_ALGORITHM_BALANCED_BIT

      public static final int VMA_DEFRAGMENTATION_FLAG_ALGORITHM_BALANCED_BIT
      See Also:
    • VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FULL_BIT

      public static final int VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FULL_BIT
      See Also:
    • VMA_DEFRAGMENTATION_FLAG_ALGORITHM_EXTENSIVE_BIT

      public static final int VMA_DEFRAGMENTATION_FLAG_ALGORITHM_EXTENSIVE_BIT
      See Also:
    • VMA_DEFRAGMENTATION_FLAG_BITS_MAX_ENUM

      public static final int VMA_DEFRAGMENTATION_FLAG_BITS_MAX_ENUM
      See Also:
    • VMA_DEFRAGMENTATION_MOVE_OPERATION_COPY

      public static final int VMA_DEFRAGMENTATION_MOVE_OPERATION_COPY
      See Also:
    • VMA_DEFRAGMENTATION_MOVE_OPERATION_IGNORE

      public static final int VMA_DEFRAGMENTATION_MOVE_OPERATION_IGNORE
      See Also:
    • VMA_DEFRAGMENTATION_MOVE_OPERATION_DESTROY

      public static final int VMA_DEFRAGMENTATION_MOVE_OPERATION_DESTROY
      See Also:
    • VMA_VIRTUAL_BLOCK_CREATE_LINEAR_ALGORITHM_BIT

      public static final int VMA_VIRTUAL_BLOCK_CREATE_LINEAR_ALGORITHM_BIT
      See Also:
    • VMA_VIRTUAL_BLOCK_CREATE_ALGORITHM_MASK

      public static final int VMA_VIRTUAL_BLOCK_CREATE_ALGORITHM_MASK
      See Also:
    • VMA_VIRTUAL_BLOCK_CREATE_FLAG_BITS_MAX_ENUM

      public static final int VMA_VIRTUAL_BLOCK_CREATE_FLAG_BITS_MAX_ENUM
      See Also:
    • VMA_VIRTUAL_ALLOCATION_CREATE_UPPER_ADDRESS_BIT

      public static final int VMA_VIRTUAL_ALLOCATION_CREATE_UPPER_ADDRESS_BIT
      See Also:
    • VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT

      public static final int VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT
      See Also:
    • VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT

      public static final int VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT
      See Also:
    • VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_OFFSET_BIT

      public static final int VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_OFFSET_BIT
      See Also:
    • VMA_VIRTUAL_ALLOCATION_CREATE_FLAG_BITS_MAX_ENUM

      public static final int VMA_VIRTUAL_ALLOCATION_CREATE_FLAG_BITS_MAX_ENUM
      See Also:
    • VMA_ALLOCATION_CREATE_STRATEGY_MASK

      public static final int VMA_ALLOCATION_CREATE_STRATEGY_MASK
      See Also:
    • VMA_DEFRAGMENTATION_FLAG_ALGORITHM_MASK

      public static final int VMA_DEFRAGMENTATION_FLAG_ALGORITHM_MASK
      See Also:
    • VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MASK

      public static final int VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MASK
      See Also:
  • Method Details

    • vmaCreateAllocator

      public static int vmaCreateAllocator(@NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pAllocator)

      Invokes vmaCreateAllocator.

      (int) VkResult vmaCreateAllocator(const VmaAllocatorCreateInfo* pCreateInfo, VmaAllocator* pAllocator);
      
    • vmaDestroyAllocator

      public static void vmaDestroyAllocator(@NonNull MemorySegment pAllocator)

      Invokes vmaDestroyAllocator.

      void vmaDestroyAllocator((struct VmaAllocator *) VmaAllocator pAllocator);
      
    • vmaGetAllocatorInfo

      public static void vmaGetAllocatorInfo(@NonNull MemorySegment allocator, @NonNull MemorySegment pAllocatorInfo)

      Invokes vmaGetAllocatorInfo.

      void vmaGetAllocatorInfo((struct VmaAllocator *) VmaAllocator allocator, VmaAllocatorInfo* pAllocatorInfo);
      
    • vmaGetPhysicalDeviceProperties

      public static void vmaGetPhysicalDeviceProperties(@NonNull MemorySegment allocator, @NonNull MemorySegment ppPhysicalDeviceProperties)

      Invokes vmaGetPhysicalDeviceProperties.

      void vmaGetPhysicalDeviceProperties((struct VmaAllocator *) VmaAllocator allocator, const VkPhysicalDeviceProperties** ppPhysicalDeviceProperties);
      
    • vmaGetMemoryProperties

      public static void vmaGetMemoryProperties(@NonNull MemorySegment allocator, @NonNull MemorySegment ppPhysicalDeviceMemoryProperties)

      Invokes vmaGetMemoryProperties.

      void vmaGetMemoryProperties((struct VmaAllocator *) VmaAllocator allocator, const VkPhysicalDeviceMemoryProperties** ppPhysicalDeviceMemoryProperties);
      
    • vmaGetMemoryTypeProperties

      public static void vmaGetMemoryTypeProperties(@NonNull MemorySegment allocator, int memoryTypeIndex, @NonNull MemorySegment pFlags)

      Invokes vmaGetMemoryTypeProperties.

      void vmaGetMemoryTypeProperties((struct VmaAllocator *) VmaAllocator allocator, uint32_t memoryTypeIndex, VkMemoryPropertyFlags* pFlags);
      
    • vmaSetCurrentFrameIndex

      public static void vmaSetCurrentFrameIndex(@NonNull MemorySegment allocator, int frameIndex)

      Invokes vmaSetCurrentFrameIndex.

      void vmaSetCurrentFrameIndex((struct VmaAllocator *) VmaAllocator allocator, uint32_t frameIndex);
      
    • vmaCalculateStatistics

      public static void vmaCalculateStatistics(@NonNull MemorySegment allocator, @NonNull MemorySegment pStats)

      Invokes vmaCalculateStatistics.

      void vmaCalculateStatistics((struct VmaAllocator *) VmaAllocator allocator, VmaTotalStatistics* pStats);
      
    • vmaGetHeapBudgets

      public static void vmaGetHeapBudgets(@NonNull MemorySegment allocator, @NonNull MemorySegment pBudgets)

      Invokes vmaGetHeapBudgets.

      void vmaGetHeapBudgets((struct VmaAllocator *) VmaAllocator allocator, VmaBudget* pBudgets);
      
    • vmaFindMemoryTypeIndex

      public static int vmaFindMemoryTypeIndex(@NonNull MemorySegment allocator, int memoryTypeBits, @NonNull MemorySegment pAllocationCreateInfo, @NonNull MemorySegment pMemoryTypeIndex)

      Invokes vmaFindMemoryTypeIndex.

      (int) VkResult vmaFindMemoryTypeIndex((struct VmaAllocator *) VmaAllocator allocator, uint32_t memoryTypeBits, const VmaAllocationCreateInfo* pAllocationCreateInfo, uint32_t* pMemoryTypeIndex);
      
    • vmaFindMemoryTypeIndexForBufferInfo

      public static int vmaFindMemoryTypeIndexForBufferInfo(@NonNull MemorySegment allocator, @NonNull MemorySegment pBufferCreateInfo, @NonNull MemorySegment pAllocationCreateInfo, @NonNull MemorySegment pMemoryTypeIndex)

      Invokes vmaFindMemoryTypeIndexForBufferInfo.

      (int) VkResult vmaFindMemoryTypeIndexForBufferInfo((struct VmaAllocator *) VmaAllocator allocator, const VkBufferCreateInfo* pBufferCreateInfo, const VmaAllocationCreateInfo* pAllocationCreateInfo, uint32_t* pMemoryTypeIndex);
      
    • vmaFindMemoryTypeIndexForImageInfo

      public static int vmaFindMemoryTypeIndexForImageInfo(@NonNull MemorySegment allocator, @NonNull MemorySegment pImageCreateInfo, @NonNull MemorySegment pAllocationCreateInfo, @NonNull MemorySegment pMemoryTypeIndex)

      Invokes vmaFindMemoryTypeIndexForImageInfo.

      (int) VkResult vmaFindMemoryTypeIndexForImageInfo((struct VmaAllocator *) VmaAllocator allocator, const VkImageCreateInfo* pImageCreateInfo, const VmaAllocationCreateInfo* pAllocationCreateInfo, uint32_t* pMemoryTypeIndex);
      
    • vmaCreatePool

      public static int vmaCreatePool(@NonNull MemorySegment allocator, @NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pPool)

      Invokes vmaCreatePool.

      (int) VkResult vmaCreatePool((struct VmaAllocator *) VmaAllocator allocator, const VmaPoolCreateInfo* pCreateInfo, VmaPool* pPool);
      
    • vmaDestroyPool

      public static void vmaDestroyPool(@NonNull MemorySegment allocator, @NonNull MemorySegment pool)

      Invokes vmaDestroyPool.

      void vmaDestroyPool((struct VmaAllocator *) VmaAllocator allocator, (struct VmaPool *) VmaPool pool);
      
    • vmaGetPoolStatistics

      public static void vmaGetPoolStatistics(@NonNull MemorySegment allocator, @NonNull MemorySegment pool, @NonNull MemorySegment pPoolStats)

      Invokes vmaGetPoolStatistics.

      void vmaGetPoolStatistics((struct VmaAllocator *) VmaAllocator allocator, (struct VmaPool *) VmaPool pool, VmaStatistics* pPoolStats);
      
    • vmaCalculatePoolStatistics

      public static void vmaCalculatePoolStatistics(@NonNull MemorySegment allocator, @NonNull MemorySegment pool, @NonNull MemorySegment pPoolStats)

      Invokes vmaCalculatePoolStatistics.

      void vmaCalculatePoolStatistics((struct VmaAllocator *) VmaAllocator allocator, (struct VmaPool *) VmaPool pool, VmaDetailedStatistics* pPoolStats);
      
    • vmaCheckPoolCorruption

      public static int vmaCheckPoolCorruption(@NonNull MemorySegment allocator, @NonNull MemorySegment pool)

      Invokes vmaCheckPoolCorruption.

      (int) VkResult vmaCheckPoolCorruption((struct VmaAllocator *) VmaAllocator allocator, (struct VmaPool *) VmaPool pool);
      
    • vmaGetPoolName

      public static void vmaGetPoolName(@NonNull MemorySegment allocator, @NonNull MemorySegment pool, @NonNull MemorySegment ppName)

      Invokes vmaGetPoolName.

      void vmaGetPoolName((struct VmaAllocator *) VmaAllocator allocator, (struct VmaPool *) VmaPool pool, const char** ppName);
      
    • vmaSetPoolName

      public static void vmaSetPoolName(@NonNull MemorySegment allocator, @NonNull MemorySegment pool, @NonNull MemorySegment pName)

      Invokes vmaSetPoolName.

      void vmaSetPoolName((struct VmaAllocator *) VmaAllocator allocator, (struct VmaPool *) VmaPool pool, const char* pName);
      
    • vmaAllocateMemory

      public static int vmaAllocateMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment pVkMemoryRequirements, @NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaAllocateMemory.

      (int) VkResult vmaAllocateMemory((struct VmaAllocator *) VmaAllocator allocator, const VkMemoryRequirements* pVkMemoryRequirements, const VmaAllocationCreateInfo* pCreateInfo, VmaAllocation* pAllocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaAllocateMemoryPages

      public static int vmaAllocateMemoryPages(@NonNull MemorySegment allocator, @NonNull MemorySegment pVkMemoryRequirements, @NonNull MemorySegment pCreateInfo, long allocationCount, @NonNull MemorySegment pAllocations, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaAllocateMemoryPages.

      (int) VkResult vmaAllocateMemoryPages((struct VmaAllocator *) VmaAllocator allocator, const VkMemoryRequirements* pVkMemoryRequirements, const VmaAllocationCreateInfo* pCreateInfo, size_t allocationCount, VmaAllocation* pAllocations, VmaAllocationInfo* pAllocationInfo);
      
    • vmaAllocateMemoryForBuffer

      public static int vmaAllocateMemoryForBuffer(@NonNull MemorySegment allocator, long buffer, @NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaAllocateMemoryForBuffer.

      (int) VkResult vmaAllocateMemoryForBuffer((struct VmaAllocator *) VmaAllocator allocator, (uint64_t) VkBuffer buffer, const VmaAllocationCreateInfo* pCreateInfo, VmaAllocation* pAllocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaAllocateMemoryForImage

      public static int vmaAllocateMemoryForImage(@NonNull MemorySegment allocator, long image, @NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaAllocateMemoryForImage.

      (int) VkResult vmaAllocateMemoryForImage((struct VmaAllocator *) VmaAllocator allocator, (uint64_t) VkImage image, const VmaAllocationCreateInfo* pCreateInfo, VmaAllocation* pAllocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaFreeMemory

      public static void vmaFreeMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation)

      Invokes vmaFreeMemory.

      void vmaFreeMemory((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation);
      
    • vmaFreeMemoryPages

      public static void vmaFreeMemoryPages(@NonNull MemorySegment allocator, long allocationCount, @NonNull MemorySegment pAllocations)

      Invokes vmaFreeMemoryPages.

      void vmaFreeMemoryPages((struct VmaAllocator *) VmaAllocator allocator, size_t allocationCount, const VmaAllocation* pAllocations);
      
    • vmaGetAllocationInfo

      public static void vmaGetAllocationInfo(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaGetAllocationInfo.

      void vmaGetAllocationInfo((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaGetAllocationInfo2

      public static void vmaGetAllocationInfo2(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaGetAllocationInfo2.

      void vmaGetAllocationInfo2((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, VmaAllocationInfo2* pAllocationInfo);
      
    • vmaSetAllocationUserData

      public static void vmaSetAllocationUserData(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pUserData)

      Invokes vmaSetAllocationUserData.

      void vmaSetAllocationUserData((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, void* pUserData);
      
    • vmaSetAllocationName

      public static void vmaSetAllocationName(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pName)

      Invokes vmaSetAllocationName.

      void vmaSetAllocationName((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, const char* pName);
      
    • vmaGetAllocationMemoryProperties

      public static void vmaGetAllocationMemoryProperties(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pFlags)

      Invokes vmaGetAllocationMemoryProperties.

      void vmaGetAllocationMemoryProperties((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, VkMemoryPropertyFlags* pFlags);
      
    • vmaMapMemory

      public static int vmaMapMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment ppData)

      Invokes vmaMapMemory.

      (int) VkResult vmaMapMemory((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, void** ppData);
      
    • vmaUnmapMemory

      public static void vmaUnmapMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation)

      Invokes vmaUnmapMemory.

      void vmaUnmapMemory((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation);
      
    • vmaFlushAllocation

      public static int vmaFlushAllocation(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long offset, long size)

      Invokes vmaFlushAllocation.

      (int) VkResult vmaFlushAllocation((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkDeviceSize offset, (uint64_t) VkDeviceSize size);
      
    • vmaInvalidateAllocation

      public static int vmaInvalidateAllocation(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long offset, long size)

      Invokes vmaInvalidateAllocation.

      (int) VkResult vmaInvalidateAllocation((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkDeviceSize offset, (uint64_t) VkDeviceSize size);
      
    • vmaFlushAllocations

      public static int vmaFlushAllocations(@NonNull MemorySegment allocator, int allocationCount, @NonNull MemorySegment allocations, @NonNull MemorySegment offsets, @NonNull MemorySegment sizes)

      Invokes vmaFlushAllocations.

      (int) VkResult vmaFlushAllocations((struct VmaAllocator *) VmaAllocator allocator, uint32_t allocationCount, const VmaAllocation* allocations, const VkDeviceSize* offsets, const VkDeviceSize* sizes);
      
    • vmaInvalidateAllocations

      public static int vmaInvalidateAllocations(@NonNull MemorySegment allocator, int allocationCount, @NonNull MemorySegment allocations, @NonNull MemorySegment offsets, @NonNull MemorySegment sizes)

      Invokes vmaInvalidateAllocations.

      (int) VkResult vmaInvalidateAllocations((struct VmaAllocator *) VmaAllocator allocator, uint32_t allocationCount, const VmaAllocation* allocations, const VkDeviceSize* offsets, const VkDeviceSize* sizes);
      
    • vmaCopyMemoryToAllocation

      public static int vmaCopyMemoryToAllocation(@NonNull MemorySegment allocator, @NonNull MemorySegment pSrcHostPointer, @NonNull MemorySegment dstAllocation, long dstAllocationLocalOffset, long size)

      Invokes vmaCopyMemoryToAllocation.

      (int) VkResult vmaCopyMemoryToAllocation((struct VmaAllocator *) VmaAllocator allocator, const void* pSrcHostPointer, (struct VmaAllocation *) VmaAllocation dstAllocation, (uint64_t) VkDeviceSize dstAllocationLocalOffset, (uint64_t) VkDeviceSize size);
      
    • vmaCopyAllocationToMemory

      public static int vmaCopyAllocationToMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment srcAllocation, long srcAllocationLocalOffset, @NonNull MemorySegment pDstHostPointer, long size)

      Invokes vmaCopyAllocationToMemory.

      (int) VkResult vmaCopyAllocationToMemory((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation srcAllocation, (uint64_t) VkDeviceSize srcAllocationLocalOffset, void* pDstHostPointer, (uint64_t) VkDeviceSize size);
      
    • vmaCheckCorruption

      public static int vmaCheckCorruption(@NonNull MemorySegment allocator, int memoryTypeBits)

      Invokes vmaCheckCorruption.

      (int) VkResult vmaCheckCorruption((struct VmaAllocator *) VmaAllocator allocator, uint32_t memoryTypeBits);
      
    • vmaBeginDefragmentation

      public static int vmaBeginDefragmentation(@NonNull MemorySegment allocator, @NonNull MemorySegment pInfo, @NonNull MemorySegment pContext)

      Invokes vmaBeginDefragmentation.

      (int) VkResult vmaBeginDefragmentation((struct VmaAllocator *) VmaAllocator allocator, const VmaDefragmentationInfo* pInfo, VmaDefragmentationContext* pContext);
      
    • vmaEndDefragmentation

      public static void vmaEndDefragmentation(@NonNull MemorySegment allocator, @NonNull MemorySegment context, @NonNull MemorySegment pStats)

      Invokes vmaEndDefragmentation.

      void vmaEndDefragmentation((struct VmaAllocator *) VmaAllocator allocator, (struct VmaDefragmentationContext *) VmaDefragmentationContext context, VmaDefragmentationStats* pStats);
      
    • vmaBeginDefragmentationPass

      public static int vmaBeginDefragmentationPass(@NonNull MemorySegment allocator, @NonNull MemorySegment context, @NonNull MemorySegment pPassInfo)

      Invokes vmaBeginDefragmentationPass.

      (int) VkResult vmaBeginDefragmentationPass((struct VmaAllocator *) VmaAllocator allocator, (struct VmaDefragmentationContext *) VmaDefragmentationContext context, VmaDefragmentationPassMoveInfo* pPassInfo);
      
    • vmaEndDefragmentationPass

      public static int vmaEndDefragmentationPass(@NonNull MemorySegment allocator, @NonNull MemorySegment context, @NonNull MemorySegment pPassInfo)

      Invokes vmaEndDefragmentationPass.

      (int) VkResult vmaEndDefragmentationPass((struct VmaAllocator *) VmaAllocator allocator, (struct VmaDefragmentationContext *) VmaDefragmentationContext context, VmaDefragmentationPassMoveInfo* pPassInfo);
      
    • vmaBindBufferMemory

      public static int vmaBindBufferMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long buffer)

      Invokes vmaBindBufferMemory.

      (int) VkResult vmaBindBufferMemory((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkBuffer buffer);
      
    • vmaBindBufferMemory2

      public static int vmaBindBufferMemory2(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long allocationLocalOffset, long buffer, @NonNull MemorySegment pNext)

      Invokes vmaBindBufferMemory2.

      (int) VkResult vmaBindBufferMemory2((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkDeviceSize allocationLocalOffset, (uint64_t) VkBuffer buffer, const void* pNext);
      
    • vmaBindImageMemory

      public static int vmaBindImageMemory(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long image)

      Invokes vmaBindImageMemory.

      (int) VkResult vmaBindImageMemory((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkImage image);
      
    • vmaBindImageMemory2

      public static int vmaBindImageMemory2(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long allocationLocalOffset, long image, @NonNull MemorySegment pNext)

      Invokes vmaBindImageMemory2.

      (int) VkResult vmaBindImageMemory2((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkDeviceSize allocationLocalOffset, (uint64_t) VkImage image, const void* pNext);
      
    • vmaCreateBuffer

      public static int vmaCreateBuffer(@NonNull MemorySegment allocator, @NonNull MemorySegment pBufferCreateInfo, @NonNull MemorySegment pAllocationCreateInfo, @NonNull MemorySegment pBuffer, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaCreateBuffer.

      (int) VkResult vmaCreateBuffer((struct VmaAllocator *) VmaAllocator allocator, const VkBufferCreateInfo* pBufferCreateInfo, const VmaAllocationCreateInfo* pAllocationCreateInfo, VkBuffer* pBuffer, VmaAllocation* pAllocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaCreateBufferWithAlignment

      public static int vmaCreateBufferWithAlignment(@NonNull MemorySegment allocator, @NonNull MemorySegment pBufferCreateInfo, @NonNull MemorySegment pAllocationCreateInfo, long minAlignment, @NonNull MemorySegment pBuffer, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaCreateBufferWithAlignment.

      (int) VkResult vmaCreateBufferWithAlignment((struct VmaAllocator *) VmaAllocator allocator, const VkBufferCreateInfo* pBufferCreateInfo, const VmaAllocationCreateInfo* pAllocationCreateInfo, (uint64_t) VkDeviceSize minAlignment, VkBuffer* pBuffer, VmaAllocation* pAllocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaCreateAliasingBuffer

      public static int vmaCreateAliasingBuffer(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pBufferCreateInfo, @NonNull MemorySegment pBuffer)

      Invokes vmaCreateAliasingBuffer.

      (int) VkResult vmaCreateAliasingBuffer((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, const VkBufferCreateInfo* pBufferCreateInfo, VkBuffer* pBuffer);
      
    • vmaCreateAliasingBuffer2

      public static int vmaCreateAliasingBuffer2(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long allocationLocalOffset, @NonNull MemorySegment pBufferCreateInfo, @NonNull MemorySegment pBuffer)

      Invokes vmaCreateAliasingBuffer2.

      (int) VkResult vmaCreateAliasingBuffer2((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkDeviceSize allocationLocalOffset, const VkBufferCreateInfo* pBufferCreateInfo, VkBuffer* pBuffer);
      
    • vmaDestroyBuffer

      public static void vmaDestroyBuffer(@NonNull MemorySegment allocator, long buffer, @NonNull MemorySegment allocation)

      Invokes vmaDestroyBuffer.

      void vmaDestroyBuffer((struct VmaAllocator *) VmaAllocator allocator, (uint64_t) VkBuffer buffer, (struct VmaAllocation *) VmaAllocation allocation);
      
    • vmaCreateImage

      public static int vmaCreateImage(@NonNull MemorySegment allocator, @NonNull MemorySegment pImageCreateInfo, @NonNull MemorySegment pAllocationCreateInfo, @NonNull MemorySegment pImage, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pAllocationInfo)

      Invokes vmaCreateImage.

      (int) VkResult vmaCreateImage((struct VmaAllocator *) VmaAllocator allocator, const VkImageCreateInfo* pImageCreateInfo, const VmaAllocationCreateInfo* pAllocationCreateInfo, VkImage* pImage, VmaAllocation* pAllocation, VmaAllocationInfo* pAllocationInfo);
      
    • vmaCreateAliasingImage

      public static int vmaCreateAliasingImage(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, @NonNull MemorySegment pImageCreateInfo, @NonNull MemorySegment pImage)

      Invokes vmaCreateAliasingImage.

      (int) VkResult vmaCreateAliasingImage((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, const VkImageCreateInfo* pImageCreateInfo, VkImage* pImage);
      
    • vmaCreateAliasingImage2

      public static int vmaCreateAliasingImage2(@NonNull MemorySegment allocator, @NonNull MemorySegment allocation, long allocationLocalOffset, @NonNull MemorySegment pImageCreateInfo, @NonNull MemorySegment pImage)

      Invokes vmaCreateAliasingImage2.

      (int) VkResult vmaCreateAliasingImage2((struct VmaAllocator *) VmaAllocator allocator, (struct VmaAllocation *) VmaAllocation allocation, (uint64_t) VkDeviceSize allocationLocalOffset, const VkImageCreateInfo* pImageCreateInfo, VkImage* pImage);
      
    • vmaDestroyImage

      public static void vmaDestroyImage(@NonNull MemorySegment allocator, long image, @NonNull MemorySegment allocation)

      Invokes vmaDestroyImage.

      void vmaDestroyImage((struct VmaAllocator *) VmaAllocator allocator, (uint64_t) VkImage image, (struct VmaAllocation *) VmaAllocation allocation);
      
    • vmaCreateVirtualBlock

      public static int vmaCreateVirtualBlock(@NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pVirtualBlock)

      Invokes vmaCreateVirtualBlock.

      (int) VkResult vmaCreateVirtualBlock(const VmaVirtualBlockCreateInfo* pCreateInfo, VmaVirtualBlock* pVirtualBlock);
      
    • vmaDestroyVirtualBlock

      public static void vmaDestroyVirtualBlock(@NonNull MemorySegment virtualBlock)

      Invokes vmaDestroyVirtualBlock.

      void vmaDestroyVirtualBlock((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock);
      
    • vmaIsVirtualBlockEmpty

      public static int vmaIsVirtualBlockEmpty(@NonNull MemorySegment virtualBlock)

      Invokes vmaIsVirtualBlockEmpty.

      (uint32_t) VkBool32 vmaIsVirtualBlockEmpty((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock);
      
    • vmaGetVirtualAllocationInfo

      public static void vmaGetVirtualAllocationInfo(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment allocation, @NonNull MemorySegment pVirtualAllocInfo)

      Invokes vmaGetVirtualAllocationInfo.

      void vmaGetVirtualAllocationInfo((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, (struct VmaVirtualAllocation) VmaVirtualAllocation allocation, VmaVirtualAllocationInfo* pVirtualAllocInfo);
      
    • vmaVirtualAllocate

      public static int vmaVirtualAllocate(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment pCreateInfo, @NonNull MemorySegment pAllocation, @NonNull MemorySegment pOffset)

      Invokes vmaVirtualAllocate.

      (int) VkResult vmaVirtualAllocate((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, const VmaVirtualAllocationCreateInfo* pCreateInfo, VmaVirtualAllocation* pAllocation, VkDeviceSize* pOffset);
      
    • vmaVirtualFree

      public static void vmaVirtualFree(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment allocation)

      Invokes vmaVirtualFree.

      void vmaVirtualFree((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, (struct VmaVirtualAllocation) VmaVirtualAllocation allocation);
      
    • vmaClearVirtualBlock

      public static void vmaClearVirtualBlock(@NonNull MemorySegment virtualBlock)

      Invokes vmaClearVirtualBlock.

      void vmaClearVirtualBlock((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock);
      
    • vmaSetVirtualAllocationUserData

      public static void vmaSetVirtualAllocationUserData(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment allocation, @NonNull MemorySegment pUserData)

      Invokes vmaSetVirtualAllocationUserData.

      void vmaSetVirtualAllocationUserData((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, (struct VmaVirtualAllocation) VmaVirtualAllocation allocation, void* pUserData);
      
    • vmaGetVirtualBlockStatistics

      public static void vmaGetVirtualBlockStatistics(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment pStats)

      Invokes vmaGetVirtualBlockStatistics.

      void vmaGetVirtualBlockStatistics((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, VmaStatistics* pStats);
      
    • vmaCalculateVirtualBlockStatistics

      public static void vmaCalculateVirtualBlockStatistics(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment pStats)

      Invokes vmaCalculateVirtualBlockStatistics.

      void vmaCalculateVirtualBlockStatistics((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, VmaDetailedStatistics* pStats);
      
    • vmaBuildVirtualBlockStatsString

      public static void vmaBuildVirtualBlockStatsString(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment ppStatsString, int detailedMap)

      Invokes vmaBuildVirtualBlockStatsString.

      void vmaBuildVirtualBlockStatsString((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, char** ppStatsString, (uint32_t) VkBool32 detailedMap);
      
    • vmaFreeVirtualBlockStatsString

      public static void vmaFreeVirtualBlockStatsString(@NonNull MemorySegment virtualBlock, @NonNull MemorySegment pStatsString)

      Invokes vmaFreeVirtualBlockStatsString.

      void vmaFreeVirtualBlockStatsString((struct VmaVirtualBlock) VmaVirtualBlock virtualBlock, char* pStatsString);
      
    • vmaBuildStatsString

      public static void vmaBuildStatsString(@NonNull MemorySegment allocator, @NonNull MemorySegment ppStatsString, int detailedMap)

      Invokes vmaBuildStatsString.

      void vmaBuildStatsString((struct VmaAllocator *) VmaAllocator allocator, char** ppStatsString, (uint32_t) VkBool32 detailedMap);
      
    • vmaFreeStatsString

      public static void vmaFreeStatsString(@NonNull MemorySegment allocator, @NonNull MemorySegment pStatsString)

      Invokes vmaFreeStatsString.

      void vmaFreeStatsString((struct VmaAllocator *) VmaAllocator allocator, char* pStatsString);