Class VmaDefragmentationFlags

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

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

    • FLAG_ALGORITHM_BALANCED

      public static final int FLAG_ALGORITHM_BALANCED
      See Also:
    • FLAG_ALGORITHM_EXTENSIVE

      public static final int FLAG_ALGORITHM_EXTENSIVE
      Use the most roboust algorithm at the cost of time to compute and number of copies to make. Only available when bufferImageGranularity is greater than 1, since it aims to reduce alignment issues between different types of resources. Otherwise falls back to same behavior as VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FULL_BIT.
      See Also:
    • FLAG_ALGORITHM_FAST

      public static final int FLAG_ALGORITHM_FAST
      See Also:
    • FLAG_ALGORITHM_FULL

      public static final int FLAG_ALGORITHM_FULL
      See Also:
    • FLAG_BITS_MAX_ENUM

      public static final int FLAG_BITS_MAX_ENUM
      See Also:
    • FLAG_ALGORITHM_MASK

      public static final int FLAG_ALGORITHM_MASK
      A bit mask to extract only ALGORITHM bits from entire set of flags.
      See Also:
  • Method Details