Class VmaDefragmentationInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VmaDefragmentationInfo extends Struct<VmaDefragmentationInfo> implements NativeResource

 struct VmaDefragmentationInfo {
     VmaDefragmentationFlags flags;
     VmaPool pool;
     VkDeviceSize maxBytesPerPass;
     uint32_t maxAllocationsPerPass;
     PFN_vmaCheckDefragmentationBreakFunction pfnBreakCallback;
     void * pBreakCallbackUserData;
 }
  • 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.
    • POOL

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

      public static final int MAXBYTESPERPASS
      The struct member offsets.
    • MAXALLOCATIONSPERPASS

      public static final int MAXALLOCATIONSPERPASS
      The struct member offsets.
    • PFNBREAKCALLBACK

      public static final int PFNBREAKCALLBACK
      The struct member offsets.
    • PBREAKCALLBACKUSERDATA

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

    • VmaDefragmentationInfo

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