-
- All Known Implementing Classes:
VMAAllocationCreateInfo
@Immutable public interface VMAAllocationCreateInfoType
Information required to create an allocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<VMAAllocationCreateFlag>
flags()
long
memoryTypeBits()
java.util.Set<VulkanMemoryPropertyFlag>
preferredFlags()
java.util.Set<VulkanMemoryPropertyFlag>
requiredFlags()
VMAMemoryUsage
usage()
-
-
-
Method Detail
-
flags
@Parameter java.util.Set<VMAAllocationCreateFlag> flags()
- Returns:
- The creation flags
-
usage
@Parameter VMAMemoryUsage usage()
- Returns:
- The intended usage of the memory allocation
-
requiredFlags
@Parameter java.util.Set<VulkanMemoryPropertyFlag> requiredFlags()
- Returns:
- The flags that must be set in a memory type chosen for an allocation.
-
preferredFlags
@Parameter java.util.Set<VulkanMemoryPropertyFlag> preferredFlags()
- Returns:
- The flags that preferably should be set in a memory type chosen for an allocation.
-
memoryTypeBits
@Parameter long memoryTypeBits()
- Returns:
- A bitmask containing one bit set for every memory type acceptable for this allocation.
-
-