Module com.io7m.jcoronado.api
Package com.io7m.jcoronado.api
Class VulkanPipelineVertexInputStateCreateInfo
- java.lang.Object
-
- com.io7m.jcoronado.api.VulkanPipelineVertexInputStateCreateInfo
-
- All Implemented Interfaces:
VulkanPipelineVertexInputStateCreateInfoType
public final class VulkanPipelineVertexInputStateCreateInfo extends java.lang.Object implements VulkanPipelineVertexInputStateCreateInfoType
- See Also:
- "VkPipelineVertexInputStateCreateInfo"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VulkanPipelineVertexInputStateCreateInfo.Builder
Builds instances of typeVulkanPipelineVertexInputStateCreateInfo
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulkanPipelineVertexInputStateCreateInfo.Builder
builder()
Creates a builder forVulkanPipelineVertexInputStateCreateInfo
.static VulkanPipelineVertexInputStateCreateInfo
copyOf(VulkanPipelineVertexInputStateCreateInfoType instance)
Creates an immutable copy of aVulkanPipelineVertexInputStateCreateInfoType
value.boolean
equals(java.lang.Object another)
This instance is equal to all instances ofVulkanPipelineVertexInputStateCreateInfo
that have equal attribute values.java.util.Set<VulkanPipelineVertexInputStateCreateFlag>
flags()
int
hashCode()
Computes a hash code from attributes:flags
,vertexBindingDescriptions
,vertexAttributeDescriptions
.static VulkanPipelineVertexInputStateCreateInfo
of(java.lang.Iterable<VulkanPipelineVertexInputStateCreateFlag> flags, java.lang.Iterable<? extends VulkanVertexInputBindingDescription> vertexBindingDescriptions, java.lang.Iterable<? extends VulkanVertexInputAttributeDescription> vertexAttributeDescriptions)
Construct a new immutableVulkanPipelineVertexInputStateCreateInfo
instance.static VulkanPipelineVertexInputStateCreateInfo
of(java.util.Set<VulkanPipelineVertexInputStateCreateFlag> flags, java.util.List<VulkanVertexInputBindingDescription> vertexBindingDescriptions, java.util.List<VulkanVertexInputAttributeDescription> vertexAttributeDescriptions)
Construct a new immutableVulkanPipelineVertexInputStateCreateInfo
instance.java.lang.String
toString()
Prints the immutable valueVulkanPipelineVertexInputStateCreateInfo
with attribute values.java.util.List<VulkanVertexInputAttributeDescription>
vertexAttributeDescriptions()
java.util.List<VulkanVertexInputBindingDescription>
vertexBindingDescriptions()
VulkanPipelineVertexInputStateCreateInfo
withFlags(VulkanPipelineVertexInputStateCreateFlag... elements)
Copy the current immutable object with elements that replace the content offlags
.VulkanPipelineVertexInputStateCreateInfo
withFlags(java.lang.Iterable<VulkanPipelineVertexInputStateCreateFlag> elements)
Copy the current immutable object with elements that replace the content offlags
.VulkanPipelineVertexInputStateCreateInfo
withVertexAttributeDescriptions(VulkanVertexInputAttributeDescription... elements)
Copy the current immutable object with elements that replace the content ofvertexAttributeDescriptions
.VulkanPipelineVertexInputStateCreateInfo
withVertexAttributeDescriptions(java.lang.Iterable<? extends VulkanVertexInputAttributeDescription> elements)
Copy the current immutable object with elements that replace the content ofvertexAttributeDescriptions
.VulkanPipelineVertexInputStateCreateInfo
withVertexBindingDescriptions(VulkanVertexInputBindingDescription... elements)
Copy the current immutable object with elements that replace the content ofvertexBindingDescriptions
.VulkanPipelineVertexInputStateCreateInfo
withVertexBindingDescriptions(java.lang.Iterable<? extends VulkanVertexInputBindingDescription> elements)
Copy the current immutable object with elements that replace the content ofvertexBindingDescriptions
.
-
-
-
Method Detail
-
flags
public java.util.Set<VulkanPipelineVertexInputStateCreateFlag> flags()
- Specified by:
flags
in interfaceVulkanPipelineVertexInputStateCreateInfoType
- Returns:
- Flags reserved for future use
-
vertexBindingDescriptions
public java.util.List<VulkanVertexInputBindingDescription> vertexBindingDescriptions()
- Specified by:
vertexBindingDescriptions
in interfaceVulkanPipelineVertexInputStateCreateInfoType
- Returns:
- The binding descriptions
-
vertexAttributeDescriptions
public java.util.List<VulkanVertexInputAttributeDescription> vertexAttributeDescriptions()
- Specified by:
vertexAttributeDescriptions
in interfaceVulkanPipelineVertexInputStateCreateInfoType
- Returns:
- The attribute descriptions
-
withFlags
public final VulkanPipelineVertexInputStateCreateInfo withFlags(VulkanPipelineVertexInputStateCreateFlag... elements)
Copy the current immutable object with elements that replace the content offlags
.- Parameters:
elements
- The elements to set- Returns:
- A modified copy of
this
object
-
withFlags
public final VulkanPipelineVertexInputStateCreateInfo withFlags(java.lang.Iterable<VulkanPipelineVertexInputStateCreateFlag> elements)
Copy the current immutable object with elements that replace the content offlags
. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
elements
- An iterable of flags elements to set- Returns:
- A modified copy of
this
object
-
withVertexBindingDescriptions
public final VulkanPipelineVertexInputStateCreateInfo withVertexBindingDescriptions(VulkanVertexInputBindingDescription... elements)
Copy the current immutable object with elements that replace the content ofvertexBindingDescriptions
.- Parameters:
elements
- The elements to set- Returns:
- A modified copy of
this
object
-
withVertexBindingDescriptions
public final VulkanPipelineVertexInputStateCreateInfo withVertexBindingDescriptions(java.lang.Iterable<? extends VulkanVertexInputBindingDescription> elements)
Copy the current immutable object with elements that replace the content ofvertexBindingDescriptions
. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
elements
- An iterable of vertexBindingDescriptions elements to set- Returns:
- A modified copy of
this
object
-
withVertexAttributeDescriptions
public final VulkanPipelineVertexInputStateCreateInfo withVertexAttributeDescriptions(VulkanVertexInputAttributeDescription... elements)
Copy the current immutable object with elements that replace the content ofvertexAttributeDescriptions
.- Parameters:
elements
- The elements to set- Returns:
- A modified copy of
this
object
-
withVertexAttributeDescriptions
public final VulkanPipelineVertexInputStateCreateInfo withVertexAttributeDescriptions(java.lang.Iterable<? extends VulkanVertexInputAttributeDescription> elements)
Copy the current immutable object with elements that replace the content ofvertexAttributeDescriptions
. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
elements
- An iterable of vertexAttributeDescriptions elements to set- Returns:
- A modified copy of
this
object
-
equals
public boolean equals(java.lang.Object another)
This instance is equal to all instances ofVulkanPipelineVertexInputStateCreateInfo
that have equal attribute values.- Overrides:
equals
in classjava.lang.Object
- Returns:
true
ifthis
is equal toanother
instance
-
hashCode
public int hashCode()
Computes a hash code from attributes:flags
,vertexBindingDescriptions
,vertexAttributeDescriptions
.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueVulkanPipelineVertexInputStateCreateInfo
with attribute values.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of the value
-
of
public static VulkanPipelineVertexInputStateCreateInfo of(java.util.Set<VulkanPipelineVertexInputStateCreateFlag> flags, java.util.List<VulkanVertexInputBindingDescription> vertexBindingDescriptions, java.util.List<VulkanVertexInputAttributeDescription> vertexAttributeDescriptions)
Construct a new immutableVulkanPipelineVertexInputStateCreateInfo
instance.- Parameters:
flags
- The value for theflags
attributevertexBindingDescriptions
- The value for thevertexBindingDescriptions
attributevertexAttributeDescriptions
- The value for thevertexAttributeDescriptions
attribute- Returns:
- An immutable VulkanPipelineVertexInputStateCreateInfo instance
-
of
public static VulkanPipelineVertexInputStateCreateInfo of(java.lang.Iterable<VulkanPipelineVertexInputStateCreateFlag> flags, java.lang.Iterable<? extends VulkanVertexInputBindingDescription> vertexBindingDescriptions, java.lang.Iterable<? extends VulkanVertexInputAttributeDescription> vertexAttributeDescriptions)
Construct a new immutableVulkanPipelineVertexInputStateCreateInfo
instance.- Parameters:
flags
- The value for theflags
attributevertexBindingDescriptions
- The value for thevertexBindingDescriptions
attributevertexAttributeDescriptions
- The value for thevertexAttributeDescriptions
attribute- Returns:
- An immutable VulkanPipelineVertexInputStateCreateInfo instance
-
copyOf
public static VulkanPipelineVertexInputStateCreateInfo copyOf(VulkanPipelineVertexInputStateCreateInfoType instance)
Creates an immutable copy of aVulkanPipelineVertexInputStateCreateInfoType
value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance
- The instance to copy- Returns:
- A copied immutable VulkanPipelineVertexInputStateCreateInfo instance
-
builder
public static VulkanPipelineVertexInputStateCreateInfo.Builder builder()
Creates a builder forVulkanPipelineVertexInputStateCreateInfo
.- Returns:
- A new VulkanPipelineVertexInputStateCreateInfo builder
-
-