Class VmaVirtualAllocationCreateFlags

java.lang.Object
club.doki7.vma.bitmask.VmaVirtualAllocationCreateFlags

public final class VmaVirtualAllocationCreateFlags extends Object
Flags to be passed as VmaVirtualAllocationCreateInfo::flags.
  • Field Details

    • FLAG_BITS_MAX_ENUM

      public static final int FLAG_BITS_MAX_ENUM
      See Also:
    • STRATEGY_MASK

      public static final int STRATEGY_MASK

      A bit mask to extract only STRATEGY bits from entire set of flags.

      These strategy flags are binary compatible with equivalent flags in VmaAllocationCreateFlagBits.

      See Also:
    • STRATEGY_MIN_MEMORY

      public static final int STRATEGY_MIN_MEMORY
      Allocation strategy that tries to minimize memory usage.
      See Also:
    • STRATEGY_MIN_OFFSET

      public static final int STRATEGY_MIN_OFFSET
      Allocation strategy that chooses always the lowest offset in available space. This is not the most efficient strategy but achieves highly packed data.
      See Also:
    • STRATEGY_MIN_TIME

      public static final int STRATEGY_MIN_TIME
      Allocation strategy that tries to minimize allocation time.
      See Also:
    • UPPER_ADDRESS

      public static final int UPPER_ADDRESS

      Allocation will be created from upper stack in a double stack pool.

      This flag is only allowed for virtual blocks created with VMA_VIRTUAL_BLOCK_CREATE_LINEAR_ALGORITHM_BIT flag.

      See Also:
  • Method Details