- java.lang.Object
-
- java.lang.Enum<VulkanDescriptorType>
-
- com.io7m.jcoronado.api.VulkanDescriptorType
-
- All Implemented Interfaces:
VulkanEnumIntegerType
,java.io.Serializable
,java.lang.Comparable<VulkanDescriptorType>
public enum VulkanDescriptorType extends java.lang.Enum<VulkanDescriptorType> implements VulkanEnumIntegerType
Specifies the type of a descriptor in a descriptor set.- See Also:
- "VkDescriptorType"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
Specifies a combined image sampler descriptorVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
Specifies an input attachment descriptorVK_DESCRIPTOR_TYPE_SAMPLED_IMAGE
Specifies a sampled image descriptorVK_DESCRIPTOR_TYPE_SAMPLER
Specifies a sampler descriptorVK_DESCRIPTOR_TYPE_STORAGE_BUFFER
Specifies a storage buffer descriptorVK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
Specifies a dynamic storage buffer descriptorVK_DESCRIPTOR_TYPE_STORAGE_IMAGE
Specifies a storage image descriptorVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
Specifies a storage texel buffer descriptorVK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
Specifies a uniform buffer descriptorVK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
Specifies a dynamic uniform buffer descriptorVK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
Specifies a uniform texel buffer descriptor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanDescriptorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanDescriptorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_DESCRIPTOR_TYPE_SAMPLER
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_SAMPLER
Specifies a sampler descriptor
-
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
Specifies a combined image sampler descriptor
-
VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE
Specifies a sampled image descriptor
-
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
Specifies a storage image descriptor
-
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
Specifies a uniform texel buffer descriptor
-
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
Specifies a storage texel buffer descriptor
-
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
Specifies a uniform buffer descriptor
-
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
Specifies a storage buffer descriptor
-
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
Specifies a dynamic uniform buffer descriptor
-
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
Specifies a dynamic storage buffer descriptor
-
VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
public static final VulkanDescriptorType VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
Specifies an input attachment descriptor
-
-
Method Detail
-
values
public static VulkanDescriptorType[] 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 (VulkanDescriptorType c : VulkanDescriptorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanDescriptorType 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 interfaceVulkanEnumIntegerType
- Returns:
- The integer value of the constant
-
-