- java.lang.Object
-
- java.lang.Enum<VulkanDescriptorPoolCreateFlag>
-
- com.io7m.jcoronado.api.VulkanDescriptorPoolCreateFlag
-
- All Implemented Interfaces:
VulkanEnumBitmaskType
,java.io.Serializable
,java.lang.Comparable<VulkanDescriptorPoolCreateFlag>
public enum VulkanDescriptorPoolCreateFlag extends java.lang.Enum<VulkanDescriptorPoolCreateFlag> implements VulkanEnumBitmaskType
Flags specifying certain supported operations on a descriptor pool- See Also:
- "VkDescriptorPoolCreateFlagBits"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
Specifies that descriptor sets can return their individual allocations to the pool, i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanDescriptorPoolCreateFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanDescriptorPoolCreateFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
public static final VulkanDescriptorPoolCreateFlag VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
Specifies that descriptor sets can return their individual allocations to the pool, i.e. all of vkAllocateDescriptorSets, vkFreeDescriptorSets, and vkResetDescriptorPool are allowed. Otherwise, descriptor sets allocated from the pool must not be individually freed back to the pool, i.e. only vkAllocateDescriptorSets and vkResetDescriptorPool are allowed.
-
-
Method Detail
-
values
public static VulkanDescriptorPoolCreateFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VulkanDescriptorPoolCreateFlag c : VulkanDescriptorPoolCreateFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanDescriptorPoolCreateFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
- Specified by:
value
in interfaceVulkanEnumBitmaskType
- Returns:
- The integer value of the constant
-
-