Enum Class VulkanBufferCreateFlag

java.lang.Object
java.lang.Enum<VulkanBufferCreateFlag>
com.io7m.jcoronado.api.VulkanBufferCreateFlag
All Implemented Interfaces:
VulkanEnumBitmaskType, Serializable, Comparable<VulkanBufferCreateFlag>, Constable

public enum VulkanBufferCreateFlag extends Enum<VulkanBufferCreateFlag> implements VulkanEnumBitmaskType
See Also:
  • "VkBufferCreateFlagBits"
  • Enum Constant Details

    • VK_BUFFER_CREATE_SPARSE_BINDING_BIT

      public static final VulkanBufferCreateFlag VK_BUFFER_CREATE_SPARSE_BINDING_BIT
      Specifies that the buffer will be backed using sparse memory binding.
    • VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT

      public static final VulkanBufferCreateFlag VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT
      Specifies that the buffer can be partially backed using sparse memory binding. Buffers created with this flag must also be created with the VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag.
    • VK_BUFFER_CREATE_SPARSE_ALIASED_BIT

      public static final VulkanBufferCreateFlag VK_BUFFER_CREATE_SPARSE_ALIASED_BIT
      Specifies that the buffer will be backed using sparse memory binding with memory ranges that might also simultaneously be backing another buffer (or another portion of the same buffer). Buffers created with this flag must also be created with the VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag.
    • VK_BUFFER_CREATE_PROTECTED_BIT

      public static final VulkanBufferCreateFlag VK_BUFFER_CREATE_PROTECTED_BIT
      Specifies that the buffer is a protected buffer.
  • Method Details

    • values

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