Class VmaVirtualAllocationCreateFlags
java.lang.Object
club.doki7.vma.bitmask.VmaVirtualAllocationCreateFlags
Flags to be passed as VmaVirtualAllocationCreateInfo::flags.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
A bit mask to extract onlySTRATEGY
bits from entire set of flags.static final int
Allocation strategy that tries to minimize memory usage.static final int
Allocation strategy that chooses always the lowest offset in available space.static final int
Allocation strategy that tries to minimize allocation time.static final int
Allocation will be created from upper stack in a double stack pool. -
Method Summary
-
Field Details
-
FLAG_BITS_MAX_ENUM
public static final int FLAG_BITS_MAX_ENUM- See Also:
-
STRATEGY_MASK
public static final int STRATEGY_MASKA 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_MEMORYAllocation strategy that tries to minimize memory usage.- See Also:
-
STRATEGY_MIN_OFFSET
public static final int STRATEGY_MIN_OFFSETAllocation 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_TIMEAllocation strategy that tries to minimize allocation time.- See Also:
-
UPPER_ADDRESS
public static final int UPPER_ADDRESSAllocation 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
-
explain
-