# Enum Class VMAAllocatorCreateFlag

java.lang.Object
java.lang.Enum<VMAAllocatorCreateFlag>
com.io7m.jcoronado.vma.VMAAllocatorCreateFlag

All Implemented Interfaces:
  `VulkanEnumBitmaskType, Serializable, Comparable<VMAAllocatorCreateFlag>, Constable`

public enum VMAAllocatorCreateFlag extends Enum<VMAAllocatorCreateFlag> implements VulkanEnumBitmaskType

See Also:
  - "VmaAllocatorCreateFlagBits"

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from class Enum

  `Enum.EnumDesc<E>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `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.
  `VMA_ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT`
  Enables usage of VK_EXT_memory_budget extension.
  `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_BIND_MEMORY2_BIT`
  Enables usage of VK_KHR_bind_memory2 extension.
  `VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT`
  Enables usage of VK_KHR_dedicated_allocation extension.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `value()`
  `static VMAAllocatorCreateFlag`
  `valueOf(String name)`
  Returns 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.

  ### Methods inherited from class Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT

    public static final VMAAllocatorCreateFlag 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

    public static final VMAAllocatorCreateFlag VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT
    Enables usage of VK_KHR_dedicated_allocation extension.

  - ### VMA_ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT

    public static final VMAAllocatorCreateFlag VMA_ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT
    Enables usage of VK_KHR_bind_memory2 extension.

  - ### VMA_ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT

    public static final VMAAllocatorCreateFlag VMA_ALLOCATOR_CREATE_EXT_MEMORY_BUDGET_BIT
    Enables usage of VK_EXT_memory_budget extension.

  - ### VMA_ALLOCATOR_CREATE_BUFFER_DEVICE_ADDRESS_BIT

    public static final VMAAllocatorCreateFlag 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

    public static VMAAllocatorCreateFlag[] 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

    public static VMAAllocatorCreateFlag valueOf(String name)
    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 name
      `NullPointerException` - if the argument is null

  - ### value

    public int value()
    Specified by:
      `value` in interface `VulkanEnumBitmaskType`
    Returns:
      The integer value of the constant