- java.lang.Object
-
- java.lang.Enum<VulkanPrimitiveTopology>
-
- com.io7m.jcoronado.api.VulkanPrimitiveTopology
-
- All Implemented Interfaces:
VulkanEnumIntegerType
,java.io.Serializable
,java.lang.Comparable<VulkanPrimitiveTopology>
public enum VulkanPrimitiveTopology extends java.lang.Enum<VulkanPrimitiveTopology> implements VulkanEnumIntegerType
Supported primitive topologies.- See Also:
- "VkPrimitiveTopology"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_PRIMITIVE_TOPOLOGY_LINE_LIST
VK_PRIMITIVE_TOPOLOGY_LINE_LISTVK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCYVK_PRIMITIVE_TOPOLOGY_LINE_STRIP
VK_PRIMITIVE_TOPOLOGY_LINE_STRIPVK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCYVK_PRIMITIVE_TOPOLOGY_PATCH_LIST
VK_PRIMITIVE_TOPOLOGY_PATCH_LISTVK_PRIMITIVE_TOPOLOGY_POINT_LIST
VK_PRIMITIVE_TOPOLOGY_POINT_LISTVK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FANVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LISTVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCYVK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIPVK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanPrimitiveTopology
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanPrimitiveTopology[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_PRIMITIVE_TOPOLOGY_POINT_LIST
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_POINT_LIST
VK_PRIMITIVE_TOPOLOGY_POINT_LIST
-
VK_PRIMITIVE_TOPOLOGY_LINE_LIST
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_LIST
VK_PRIMITIVE_TOPOLOGY_LINE_LIST
-
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_STRIP
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP
-
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
-
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
-
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN
-
VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY
-
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY
-
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY
-
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
-
VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
public static final VulkanPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
-
-
Method Detail
-
values
public static VulkanPrimitiveTopology[] 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 (VulkanPrimitiveTopology c : VulkanPrimitiveTopology.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanPrimitiveTopology 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
-
-