- java.lang.Object
-
- com.io7m.jcoronado.api.VulkanPipelineLayoutCreateInfo
-
- All Implemented Interfaces:
VulkanPipelineLayoutCreateInfoType
public final class VulkanPipelineLayoutCreateInfo extends java.lang.Object implements VulkanPipelineLayoutCreateInfoType
- See Also:
- "VkPipelineLayoutCreateInfo"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VulkanPipelineLayoutCreateInfo.Builder
Builds instances of typeVulkanPipelineLayoutCreateInfo
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulkanPipelineLayoutCreateInfo.Builder
builder()
Creates a builder forVulkanPipelineLayoutCreateInfo
.static VulkanPipelineLayoutCreateInfo
copyOf(VulkanPipelineLayoutCreateInfoType instance)
Creates an immutable copy of aVulkanPipelineLayoutCreateInfoType
value.boolean
equals(java.lang.Object another)
This instance is equal to all instances ofVulkanPipelineLayoutCreateInfo
that have equal attribute values.java.util.Set<VulkanPipelineLayoutCreateFlag>
flags()
int
hashCode()
Computes a hash code from attributes:flags
,setLayouts
,pushConstantRanges
.static VulkanPipelineLayoutCreateInfo
of(java.lang.Iterable<VulkanPipelineLayoutCreateFlag> flags, java.lang.Iterable<? extends VulkanDescriptorSetLayoutType> setLayouts, java.lang.Iterable<? extends VulkanPushConstantRange> pushConstantRanges)
Construct a new immutableVulkanPipelineLayoutCreateInfo
instance.static VulkanPipelineLayoutCreateInfo
of(java.util.Set<VulkanPipelineLayoutCreateFlag> flags, java.util.List<VulkanDescriptorSetLayoutType> setLayouts, java.util.List<VulkanPushConstantRange> pushConstantRanges)
Construct a new immutableVulkanPipelineLayoutCreateInfo
instance.java.util.List<VulkanPushConstantRange>
pushConstantRanges()
java.util.List<VulkanDescriptorSetLayoutType>
setLayouts()
java.lang.String
toString()
Prints the immutable valueVulkanPipelineLayoutCreateInfo
with attribute values.VulkanPipelineLayoutCreateInfo
withFlags(VulkanPipelineLayoutCreateFlag... elements)
Copy the current immutable object with elements that replace the content offlags
.VulkanPipelineLayoutCreateInfo
withFlags(java.lang.Iterable<VulkanPipelineLayoutCreateFlag> elements)
Copy the current immutable object with elements that replace the content offlags
.VulkanPipelineLayoutCreateInfo
withPushConstantRanges(VulkanPushConstantRange... elements)
Copy the current immutable object with elements that replace the content ofpushConstantRanges
.VulkanPipelineLayoutCreateInfo
withPushConstantRanges(java.lang.Iterable<? extends VulkanPushConstantRange> elements)
Copy the current immutable object with elements that replace the content ofpushConstantRanges
.VulkanPipelineLayoutCreateInfo
withSetLayouts(VulkanDescriptorSetLayoutType... elements)
Copy the current immutable object with elements that replace the content ofsetLayouts
.VulkanPipelineLayoutCreateInfo
withSetLayouts(java.lang.Iterable<? extends VulkanDescriptorSetLayoutType> elements)
Copy the current immutable object with elements that replace the content ofsetLayouts
.
-
-
-
Method Detail
-
flags
public java.util.Set<VulkanPipelineLayoutCreateFlag> flags()
- Specified by:
flags
in interfaceVulkanPipelineLayoutCreateInfoType
- Returns:
- Creation flags
-
setLayouts
public java.util.List<VulkanDescriptorSetLayoutType> setLayouts()
- Specified by:
setLayouts
in interfaceVulkanPipelineLayoutCreateInfoType
- Returns:
- A list of descriptor set layouts
-
pushConstantRanges
public java.util.List<VulkanPushConstantRange> pushConstantRanges()
- Specified by:
pushConstantRanges
in interfaceVulkanPipelineLayoutCreateInfoType
- Returns:
- A list of push constant ranges
-
withFlags
public final VulkanPipelineLayoutCreateInfo withFlags(VulkanPipelineLayoutCreateFlag... 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 VulkanPipelineLayoutCreateInfo withFlags(java.lang.Iterable<VulkanPipelineLayoutCreateFlag> 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
-
withSetLayouts
public final VulkanPipelineLayoutCreateInfo withSetLayouts(VulkanDescriptorSetLayoutType... elements)
Copy the current immutable object with elements that replace the content ofsetLayouts
.- Parameters:
elements
- The elements to set- Returns:
- A modified copy of
this
object
-
withSetLayouts
public final VulkanPipelineLayoutCreateInfo withSetLayouts(java.lang.Iterable<? extends VulkanDescriptorSetLayoutType> elements)
Copy the current immutable object with elements that replace the content ofsetLayouts
. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
elements
- An iterable of setLayouts elements to set- Returns:
- A modified copy of
this
object
-
withPushConstantRanges
public final VulkanPipelineLayoutCreateInfo withPushConstantRanges(VulkanPushConstantRange... elements)
Copy the current immutable object with elements that replace the content ofpushConstantRanges
.- Parameters:
elements
- The elements to set- Returns:
- A modified copy of
this
object
-
withPushConstantRanges
public final VulkanPipelineLayoutCreateInfo withPushConstantRanges(java.lang.Iterable<? extends VulkanPushConstantRange> elements)
Copy the current immutable object with elements that replace the content ofpushConstantRanges
. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
elements
- An iterable of pushConstantRanges 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 ofVulkanPipelineLayoutCreateInfo
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
,setLayouts
,pushConstantRanges
.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueVulkanPipelineLayoutCreateInfo
with attribute values.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of the value
-
of
public static VulkanPipelineLayoutCreateInfo of(java.util.Set<VulkanPipelineLayoutCreateFlag> flags, java.util.List<VulkanDescriptorSetLayoutType> setLayouts, java.util.List<VulkanPushConstantRange> pushConstantRanges)
Construct a new immutableVulkanPipelineLayoutCreateInfo
instance.- Parameters:
flags
- The value for theflags
attributesetLayouts
- The value for thesetLayouts
attributepushConstantRanges
- The value for thepushConstantRanges
attribute- Returns:
- An immutable VulkanPipelineLayoutCreateInfo instance
-
of
public static VulkanPipelineLayoutCreateInfo of(java.lang.Iterable<VulkanPipelineLayoutCreateFlag> flags, java.lang.Iterable<? extends VulkanDescriptorSetLayoutType> setLayouts, java.lang.Iterable<? extends VulkanPushConstantRange> pushConstantRanges)
Construct a new immutableVulkanPipelineLayoutCreateInfo
instance.- Parameters:
flags
- The value for theflags
attributesetLayouts
- The value for thesetLayouts
attributepushConstantRanges
- The value for thepushConstantRanges
attribute- Returns:
- An immutable VulkanPipelineLayoutCreateInfo instance
-
copyOf
public static VulkanPipelineLayoutCreateInfo copyOf(VulkanPipelineLayoutCreateInfoType instance)
Creates an immutable copy of aVulkanPipelineLayoutCreateInfoType
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 VulkanPipelineLayoutCreateInfo instance
-
builder
public static VulkanPipelineLayoutCreateInfo.Builder builder()
Creates a builder forVulkanPipelineLayoutCreateInfo
.- Returns:
- A new VulkanPipelineLayoutCreateInfo builder
-
-