Class VmaAllocatorCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VmaAllocatorCreateInfo extends Struct<VmaAllocatorCreateInfo> implements NativeResource

 struct VmaAllocatorCreateInfo {
     VmaAllocatorCreateFlags flags;
     VkPhysicalDevice physicalDevice;
     VkDevice device;
     VkDeviceSize preferredLargeHeapBlockSize;
     {@link VkAllocationCallbacks VkAllocationCallbacks} const * pAllocationCallbacks;
     {@link VmaDeviceMemoryCallbacks VmaDeviceMemoryCallbacks} const * pDeviceMemoryCallbacks;
     VkDeviceSize const * pHeapSizeLimit;
     {@link VmaVulkanFunctions VmaVulkanFunctions} const * pVulkanFunctions;
     VkInstance instance;
     uint32_t vulkanApiVersion;
     VkExternalMemoryHandleTypeFlagsKHR const * pTypeExternalMemoryHandleTypes;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • PHYSICALDEVICE

      public static final int PHYSICALDEVICE
      The struct member offsets.
    • DEVICE

      public static final int DEVICE
      The struct member offsets.
    • PREFERREDLARGEHEAPBLOCKSIZE

      public static final int PREFERREDLARGEHEAPBLOCKSIZE
      The struct member offsets.
    • PALLOCATIONCALLBACKS

      public static final int PALLOCATIONCALLBACKS
      The struct member offsets.
    • PDEVICEMEMORYCALLBACKS

      public static final int PDEVICEMEMORYCALLBACKS
      The struct member offsets.
    • PHEAPSIZELIMIT

      public static final int PHEAPSIZELIMIT
      The struct member offsets.
    • PVULKANFUNCTIONS

      public static final int PVULKANFUNCTIONS
      The struct member offsets.
    • INSTANCE

      public static final int INSTANCE
      The struct member offsets.
    • VULKANAPIVERSION

      public static final int VULKANAPIVERSION
      The struct member offsets.
    • PTYPEEXTERNALMEMORYHANDLETYPES

      public static final int PTYPEEXTERNALMEMORYHANDLETYPES
      The struct member offsets.
  • Constructor Details

    • VmaAllocatorCreateInfo

      public VmaAllocatorCreateInfo(ByteBuffer container)
      Creates a VmaAllocatorCreateInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details