Enum Class VMAAllocatorCreateFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType, Serializable, Comparable<VMAAllocatorCreateFlag>, Constable
public enum VMAAllocatorCreateFlag
extends Enum<VMAAllocatorCreateFlag>
implements VulkanEnumBitmaskType
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnables usage of "buffer device address" feature, which allows you to use function `vkGetBufferDeviceAddress*` to get raw GPU pointer to a buffer and pass it for usage inside a shader.Enables usage of VK_EXT_memory_budget extension.Allocator and all objects created from it will not be synchronized internally, so you must guarantee they are used from only one thread at a time or synchronized externally by you.Enables usage of VK_KHR_bind_memory2 extension.Enables usage of VK_KHR_dedicated_allocation extension. -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VMAAllocatorCreateFlagReturns the enum constant of this class with the specified name.static VMAAllocatorCreateFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
Allocator and all objects created from it will not be synchronized internally, so you must guarantee they are used from only one thread at a time or synchronized externally by you. -
VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT
Enables usage of VK_KHR_dedicated_allocation extension. -
VMA_ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT
Enables usage of VK_KHR_bind_memory2 extension. -
VMA_ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT
Enables usage of VK_EXT_memory_budget extension. -
VMA_ALLOCATOR_CREATE_BUFFER_DEVICE_ADDRESS_BIT
Enables usage of "buffer device address" feature, which allows you to use function `vkGetBufferDeviceAddress*` to get raw GPU pointer to a buffer and pass it for usage inside a shader.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value()- Specified by:
valuein interfaceVulkanEnumBitmaskType- Returns:
- The integer value of the constant
-