Class VmaAllocationInfo2

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VmaAllocationInfo2 extends Struct<VmaAllocationInfo2> implements NativeResource

 struct VmaAllocationInfo2 {
     {@link VmaAllocationInfo VmaAllocationInfo} allocationInfo;
     VkDeviceSize blockSize;
     VkBool32 dedicatedMemory;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int ALLOCATIONINFO
      The struct member offsets.
    • BLOCKSIZE

      public static final int BLOCKSIZE
      The struct member offsets.
    • DEDICATEDMEMORY

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

    • VmaAllocationInfo2

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