Class VmaAllocationCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VmaAllocationCreateInfo extends Struct<VmaAllocationCreateInfo> implements NativeResource

 struct VmaAllocationCreateInfo {
     VmaAllocationCreateFlags flags;
     VmaMemoryUsage usage;
     VkMemoryPropertyFlags requiredFlags;
     VkMemoryPropertyFlags preferredFlags;
     uint32_t memoryTypeBits;
     VmaPool pool;
     void * pUserData;
     float priority;
 }
  • 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.
    • USAGE

      public static final int USAGE
      The struct member offsets.
    • REQUIREDFLAGS

      public static final int REQUIREDFLAGS
      The struct member offsets.
    • PREFERREDFLAGS

      public static final int PREFERREDFLAGS
      The struct member offsets.
    • MEMORYTYPEBITS

      public static final int MEMORYTYPEBITS
      The struct member offsets.
    • POOL

      public static final int POOL
      The struct member offsets.
    • PUSERDATA

      public static final int PUSERDATA
      The struct member offsets.
    • PRIORITY

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

    • VmaAllocationCreateInfo

      public VmaAllocationCreateInfo(ByteBuffer container)
      Creates a VmaAllocationCreateInfo 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