Class VulkanPipelineLayoutCreateInfo
java.lang.Object
com.io7m.jcoronado.api.VulkanPipelineLayoutCreateInfo
- All Implemented Interfaces:
VulkanPipelineLayoutCreateInfoType
public final class VulkanPipelineLayoutCreateInfo
extends Object
implements VulkanPipelineLayoutCreateInfoType
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanPipelineLayoutCreateInfo. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanPipelineLayoutCreateInfo.copyOf(VulkanPipelineLayoutCreateInfoType instance) Creates an immutable copy of aVulkanPipelineLayoutCreateInfoTypevalue.booleanThis instance is equal to all instances ofVulkanPipelineLayoutCreateInfothat have equal attribute values.flags()inthashCode()Computes a hash code from attributes:flags,setLayouts,pushConstantRanges.toString()Prints the immutable valueVulkanPipelineLayoutCreateInfowith attribute values.withFlags(VulkanPipelineLayoutCreateFlag... elements) Copy the current immutable object with elements that replace the content offlags.withFlags(Iterable<VulkanPipelineLayoutCreateFlag> elements) Copy the current immutable object with elements that replace the content offlags.withPushConstantRanges(VulkanPushConstantRange... elements) Copy the current immutable object with elements that replace the content ofpushConstantRanges.withPushConstantRanges(Iterable<? extends VulkanPushConstantRange> elements) Copy the current immutable object with elements that replace the content ofpushConstantRanges.withSetLayouts(VulkanDescriptorSetLayoutType... elements) Copy the current immutable object with elements that replace the content ofsetLayouts.withSetLayouts(Iterable<? extends VulkanDescriptorSetLayoutType> elements) Copy the current immutable object with elements that replace the content ofsetLayouts.
-
Method Details
-
flags
- Specified by:
flagsin interfaceVulkanPipelineLayoutCreateInfoType- Returns:
- Creation flags
-
setLayouts
- Specified by:
setLayoutsin interfaceVulkanPipelineLayoutCreateInfoType- Returns:
- A list of descriptor set layouts
-
pushConstantRanges
- Specified by:
pushConstantRangesin interfaceVulkanPipelineLayoutCreateInfoType- Returns:
- A list of push constant ranges
-
withFlags
Copy the current immutable object with elements that replace the content offlags.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withFlags
public final VulkanPipelineLayoutCreateInfo withFlags(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 or
thisif not changed
-
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
thisobject
-
withSetLayouts
public final VulkanPipelineLayoutCreateInfo withSetLayouts(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 or
thisif not changed
-
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
thisobject
-
withPushConstantRanges
public final VulkanPipelineLayoutCreateInfo withPushConstantRanges(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 or
thisif not changed
-
equals
-
hashCode
-
toString
-
copyOf
Creates an immutable copy of aVulkanPipelineLayoutCreateInfoTypevalue. 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
Creates a builder forVulkanPipelineLayoutCreateInfo.VulkanPipelineLayoutCreateInfo.builder() .addFlags|addAllFlags(com.io7m.jcoronado.api.VulkanPipelineLayoutCreateFlag) //
flagselements .addSetLayouts|addAllSetLayouts(com.io7m.jcoronado.api.VulkanDescriptorSetLayoutType) //setLayoutselements .addPushConstantRanges|addAllPushConstantRanges(VulkanPushConstantRange) //pushConstantRangeselements .build();- Returns:
- A new VulkanPipelineLayoutCreateInfo builder
-