- java.lang.Object
-
- com.io7m.jcoronado.api.VulkanGraphicsPipelineCreateInfo
-
- All Implemented Interfaces:
VulkanGraphicsPipelineCreateInfoType
public final class VulkanGraphicsPipelineCreateInfo extends java.lang.Object implements VulkanGraphicsPipelineCreateInfoType
Structure specifying parameters of a newly created graphics pipeline.- See Also:
- "VkGraphicsPipelineCreateInfo"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VulkanGraphicsPipelineCreateInfo.Builder
Builds instances of typeVulkanGraphicsPipelineCreateInfo
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<VulkanPipelineType>
basePipeline()
java.util.OptionalInt
basePipelineIndex()
static VulkanGraphicsPipelineCreateInfo.Builder
builder()
Creates a builder forVulkanGraphicsPipelineCreateInfo
.java.util.Optional<VulkanPipelineColorBlendStateCreateInfo>
colorBlendState()
static VulkanGraphicsPipelineCreateInfo
copyOf(VulkanGraphicsPipelineCreateInfoType instance)
Creates an immutable copy of aVulkanGraphicsPipelineCreateInfoType
value.java.util.Optional<VulkanPipelineDepthStencilStateCreateInfo>
depthStencilState()
java.util.Optional<VulkanPipelineDynamicStateCreateInfo>
dynamicState()
boolean
equals(java.lang.Object another)
This instance is equal to all instances ofVulkanGraphicsPipelineCreateInfo
that have equal attribute values.java.util.Set<VulkanPipelineCreateFlag>
flags()
int
hashCode()
Computes a hash code from attributes:flags
,stages
,vertexInputState
,inputAssemblyState
,tessellationState
,viewportState
,rasterizationState
,multisampleState
,depthStencilState
,colorBlendState
,dynamicState
,layout
,renderPass
,subpass
,basePipeline
,basePipelineIndex
.VulkanPipelineInputAssemblyStateCreateInfo
inputAssemblyState()
VulkanPipelineLayoutType
layout()
java.util.Optional<VulkanPipelineMultisampleStateCreateInfo>
multisampleState()
static VulkanGraphicsPipelineCreateInfo
of(java.lang.Iterable<VulkanPipelineCreateFlag> flags, java.lang.Iterable<? extends VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, java.util.Optional<? extends VulkanPipelineTessellationStateCreateInfo> tessellationState, java.util.Optional<? extends VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, java.util.Optional<? extends VulkanPipelineMultisampleStateCreateInfo> multisampleState, java.util.Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, java.util.Optional<? extends VulkanPipelineColorBlendStateCreateInfo> colorBlendState, java.util.Optional<? extends VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, java.util.Optional<? extends VulkanPipelineType> basePipeline, java.util.OptionalInt basePipelineIndex)
Construct a new immutableVulkanGraphicsPipelineCreateInfo
instance.static VulkanGraphicsPipelineCreateInfo
of(java.util.Set<VulkanPipelineCreateFlag> flags, java.util.List<VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, java.util.Optional<VulkanPipelineTessellationStateCreateInfo> tessellationState, java.util.Optional<VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, java.util.Optional<VulkanPipelineMultisampleStateCreateInfo> multisampleState, java.util.Optional<VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, java.util.Optional<VulkanPipelineColorBlendStateCreateInfo> colorBlendState, java.util.Optional<VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, java.util.Optional<VulkanPipelineType> basePipeline, java.util.OptionalInt basePipelineIndex)
Construct a new immutableVulkanGraphicsPipelineCreateInfo
instance.VulkanPipelineRasterizationStateCreateInfo
rasterizationState()
VulkanRenderPassType
renderPass()
java.util.List<VulkanPipelineShaderStageCreateInfo>
stages()
int
subpass()
java.util.Optional<VulkanPipelineTessellationStateCreateInfo>
tessellationState()
java.lang.String
toString()
Prints the immutable valueVulkanGraphicsPipelineCreateInfo
with attribute values.VulkanPipelineVertexInputStateCreateInfo
vertexInputState()
java.util.Optional<VulkanPipelineViewportStateCreateInfo>
viewportState()
VulkanGraphicsPipelineCreateInfo
withBasePipeline(VulkanPipelineType value)
Copy the current immutable object by setting a present value for the optionalbasePipeline
attribute.VulkanGraphicsPipelineCreateInfo
withBasePipeline(java.util.Optional<? extends VulkanPipelineType> optional)
Copy the current immutable object by setting an optional value for thebasePipeline
attribute.VulkanGraphicsPipelineCreateInfo
withBasePipelineIndex(int value)
Copy the current immutable object by setting a present value for the optionalbasePipelineIndex
attribute.VulkanGraphicsPipelineCreateInfo
withBasePipelineIndex(java.util.OptionalInt optional)
Copy the current immutable object by setting an optional value for thebasePipelineIndex
attribute.VulkanGraphicsPipelineCreateInfo
withColorBlendState(VulkanPipelineColorBlendStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionalcolorBlendState
attribute.VulkanGraphicsPipelineCreateInfo
withColorBlendState(java.util.Optional<? extends VulkanPipelineColorBlendStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thecolorBlendState
attribute.VulkanGraphicsPipelineCreateInfo
withDepthStencilState(VulkanPipelineDepthStencilStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionaldepthStencilState
attribute.VulkanGraphicsPipelineCreateInfo
withDepthStencilState(java.util.Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thedepthStencilState
attribute.VulkanGraphicsPipelineCreateInfo
withDynamicState(VulkanPipelineDynamicStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionaldynamicState
attribute.VulkanGraphicsPipelineCreateInfo
withDynamicState(java.util.Optional<? extends VulkanPipelineDynamicStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thedynamicState
attribute.VulkanGraphicsPipelineCreateInfo
withFlags(VulkanPipelineCreateFlag... elements)
Copy the current immutable object with elements that replace the content offlags
.VulkanGraphicsPipelineCreateInfo
withFlags(java.lang.Iterable<VulkanPipelineCreateFlag> elements)
Copy the current immutable object with elements that replace the content offlags
.VulkanGraphicsPipelineCreateInfo
withInputAssemblyState(VulkanPipelineInputAssemblyStateCreateInfo value)
Copy the current immutable object by setting a value for theinputAssemblyState
attribute.VulkanGraphicsPipelineCreateInfo
withLayout(VulkanPipelineLayoutType value)
Copy the current immutable object by setting a value for thelayout
attribute.VulkanGraphicsPipelineCreateInfo
withMultisampleState(VulkanPipelineMultisampleStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionalmultisampleState
attribute.VulkanGraphicsPipelineCreateInfo
withMultisampleState(java.util.Optional<? extends VulkanPipelineMultisampleStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for themultisampleState
attribute.VulkanGraphicsPipelineCreateInfo
withRasterizationState(VulkanPipelineRasterizationStateCreateInfo value)
Copy the current immutable object by setting a value for therasterizationState
attribute.VulkanGraphicsPipelineCreateInfo
withRenderPass(VulkanRenderPassType value)
Copy the current immutable object by setting a value for therenderPass
attribute.VulkanGraphicsPipelineCreateInfo
withStages(VulkanPipelineShaderStageCreateInfo... elements)
Copy the current immutable object with elements that replace the content ofstages
.VulkanGraphicsPipelineCreateInfo
withStages(java.lang.Iterable<? extends VulkanPipelineShaderStageCreateInfo> elements)
Copy the current immutable object with elements that replace the content ofstages
.VulkanGraphicsPipelineCreateInfo
withSubpass(int value)
Copy the current immutable object by setting a value for thesubpass
attribute.VulkanGraphicsPipelineCreateInfo
withTessellationState(VulkanPipelineTessellationStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionaltessellationState
attribute.VulkanGraphicsPipelineCreateInfo
withTessellationState(java.util.Optional<? extends VulkanPipelineTessellationStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thetessellationState
attribute.VulkanGraphicsPipelineCreateInfo
withVertexInputState(VulkanPipelineVertexInputStateCreateInfo value)
Copy the current immutable object by setting a value for thevertexInputState
attribute.VulkanGraphicsPipelineCreateInfo
withViewportState(VulkanPipelineViewportStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionalviewportState
attribute.VulkanGraphicsPipelineCreateInfo
withViewportState(java.util.Optional<? extends VulkanPipelineViewportStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for theviewportState
attribute.
-
-
-
Method Detail
-
flags
public java.util.Set<VulkanPipelineCreateFlag> flags()
- Specified by:
flags
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- Flags specifying how the pipeline will be generated.
-
stages
public java.util.List<VulkanPipelineShaderStageCreateInfo> stages()
- Specified by:
stages
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- The shader stages to be included in the graphics pipeline.
-
vertexInputState
public VulkanPipelineVertexInputStateCreateInfo vertexInputState()
- Specified by:
vertexInputState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the vertex shading stage
-
inputAssemblyState
public VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState()
- Specified by:
inputAssemblyState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the input assembly stage
-
tessellationState
public java.util.Optional<VulkanPipelineTessellationStateCreateInfo> tessellationState()
- Specified by:
tessellationState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the tesselation stage
-
viewportState
public java.util.Optional<VulkanPipelineViewportStateCreateInfo> viewportState()
- Specified by:
viewportState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the viewport
-
rasterizationState
public VulkanPipelineRasterizationStateCreateInfo rasterizationState()
- Specified by:
rasterizationState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the rasterization stage
-
multisampleState
public java.util.Optional<VulkanPipelineMultisampleStateCreateInfo> multisampleState()
- Specified by:
multisampleState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for multisampling
-
depthStencilState
public java.util.Optional<VulkanPipelineDepthStencilStateCreateInfo> depthStencilState()
- Specified by:
depthStencilState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the depth/stencil buffer
-
colorBlendState
public java.util.Optional<VulkanPipelineColorBlendStateCreateInfo> colorBlendState()
- Specified by:
colorBlendState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- State for the color blending stage
-
dynamicState
public java.util.Optional<VulkanPipelineDynamicStateCreateInfo> dynamicState()
- Specified by:
dynamicState
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- Dynamic state
-
layout
public VulkanPipelineLayoutType layout()
- Specified by:
layout
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- The description of binding locations used by both the pipeline and descriptor sets used with the pipeline.
-
renderPass
public VulkanRenderPassType renderPass()
- Specified by:
renderPass
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- A handle to a render pass object describing the environment in which the pipeline will be used; the pipeline must only be used with an instance of any render pass compatible with the one provided.
-
subpass
public int subpass()
- Specified by:
subpass
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- The index of the subpass in the render pass where this pipeline will be used.
-
basePipeline
public java.util.Optional<VulkanPipelineType> basePipeline()
- Specified by:
basePipeline
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- A pipeline to derive from.
-
basePipelineIndex
public java.util.OptionalInt basePipelineIndex()
- Specified by:
basePipelineIndex
in interfaceVulkanGraphicsPipelineCreateInfoType
- Returns:
- An index into the createInfos parameter to use as a pipeline to derive from.
-
withFlags
public final VulkanGraphicsPipelineCreateInfo withFlags(VulkanPipelineCreateFlag... 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 VulkanGraphicsPipelineCreateInfo withFlags(java.lang.Iterable<VulkanPipelineCreateFlag> 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
-
withStages
public final VulkanGraphicsPipelineCreateInfo withStages(VulkanPipelineShaderStageCreateInfo... elements)
Copy the current immutable object with elements that replace the content ofstages
.- Parameters:
elements
- The elements to set- Returns:
- A modified copy of
this
object
-
withStages
public final VulkanGraphicsPipelineCreateInfo withStages(java.lang.Iterable<? extends VulkanPipelineShaderStageCreateInfo> elements)
Copy the current immutable object with elements that replace the content ofstages
. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
elements
- An iterable of stages elements to set- Returns:
- A modified copy of
this
object
-
withVertexInputState
public final VulkanGraphicsPipelineCreateInfo withVertexInputState(VulkanPipelineVertexInputStateCreateInfo value)
Copy the current immutable object by setting a value for thevertexInputState
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for vertexInputState- Returns:
- A modified copy of the
this
object
-
withInputAssemblyState
public final VulkanGraphicsPipelineCreateInfo withInputAssemblyState(VulkanPipelineInputAssemblyStateCreateInfo value)
Copy the current immutable object by setting a value for theinputAssemblyState
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for inputAssemblyState- Returns:
- A modified copy of the
this
object
-
withTessellationState
public final VulkanGraphicsPipelineCreateInfo withTessellationState(VulkanPipelineTessellationStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionaltessellationState
attribute.- Parameters:
value
- The value for tessellationState- Returns:
- A modified copy of
this
object
-
withTessellationState
public final VulkanGraphicsPipelineCreateInfo withTessellationState(java.util.Optional<? extends VulkanPipelineTessellationStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thetessellationState
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for tessellationState- Returns:
- A modified copy of
this
object
-
withViewportState
public final VulkanGraphicsPipelineCreateInfo withViewportState(VulkanPipelineViewportStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionalviewportState
attribute.- Parameters:
value
- The value for viewportState- Returns:
- A modified copy of
this
object
-
withViewportState
public final VulkanGraphicsPipelineCreateInfo withViewportState(java.util.Optional<? extends VulkanPipelineViewportStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for theviewportState
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for viewportState- Returns:
- A modified copy of
this
object
-
withRasterizationState
public final VulkanGraphicsPipelineCreateInfo withRasterizationState(VulkanPipelineRasterizationStateCreateInfo value)
Copy the current immutable object by setting a value for therasterizationState
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for rasterizationState- Returns:
- A modified copy of the
this
object
-
withMultisampleState
public final VulkanGraphicsPipelineCreateInfo withMultisampleState(VulkanPipelineMultisampleStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionalmultisampleState
attribute.- Parameters:
value
- The value for multisampleState- Returns:
- A modified copy of
this
object
-
withMultisampleState
public final VulkanGraphicsPipelineCreateInfo withMultisampleState(java.util.Optional<? extends VulkanPipelineMultisampleStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for themultisampleState
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for multisampleState- Returns:
- A modified copy of
this
object
-
withDepthStencilState
public final VulkanGraphicsPipelineCreateInfo withDepthStencilState(VulkanPipelineDepthStencilStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionaldepthStencilState
attribute.- Parameters:
value
- The value for depthStencilState- Returns:
- A modified copy of
this
object
-
withDepthStencilState
public final VulkanGraphicsPipelineCreateInfo withDepthStencilState(java.util.Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thedepthStencilState
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for depthStencilState- Returns:
- A modified copy of
this
object
-
withColorBlendState
public final VulkanGraphicsPipelineCreateInfo withColorBlendState(VulkanPipelineColorBlendStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionalcolorBlendState
attribute.- Parameters:
value
- The value for colorBlendState- Returns:
- A modified copy of
this
object
-
withColorBlendState
public final VulkanGraphicsPipelineCreateInfo withColorBlendState(java.util.Optional<? extends VulkanPipelineColorBlendStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thecolorBlendState
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for colorBlendState- Returns:
- A modified copy of
this
object
-
withDynamicState
public final VulkanGraphicsPipelineCreateInfo withDynamicState(VulkanPipelineDynamicStateCreateInfo value)
Copy the current immutable object by setting a present value for the optionaldynamicState
attribute.- Parameters:
value
- The value for dynamicState- Returns:
- A modified copy of
this
object
-
withDynamicState
public final VulkanGraphicsPipelineCreateInfo withDynamicState(java.util.Optional<? extends VulkanPipelineDynamicStateCreateInfo> optional)
Copy the current immutable object by setting an optional value for thedynamicState
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for dynamicState- Returns:
- A modified copy of
this
object
-
withLayout
public final VulkanGraphicsPipelineCreateInfo withLayout(VulkanPipelineLayoutType value)
Copy the current immutable object by setting a value for thelayout
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for layout- Returns:
- A modified copy of the
this
object
-
withRenderPass
public final VulkanGraphicsPipelineCreateInfo withRenderPass(VulkanRenderPassType value)
Copy the current immutable object by setting a value for therenderPass
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for renderPass- Returns:
- A modified copy of the
this
object
-
withSubpass
public final VulkanGraphicsPipelineCreateInfo withSubpass(int value)
Copy the current immutable object by setting a value for thesubpass
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for subpass- Returns:
- A modified copy of the
this
object
-
withBasePipeline
public final VulkanGraphicsPipelineCreateInfo withBasePipeline(VulkanPipelineType value)
Copy the current immutable object by setting a present value for the optionalbasePipeline
attribute.- Parameters:
value
- The value for basePipeline- Returns:
- A modified copy of
this
object
-
withBasePipeline
public final VulkanGraphicsPipelineCreateInfo withBasePipeline(java.util.Optional<? extends VulkanPipelineType> optional)
Copy the current immutable object by setting an optional value for thebasePipeline
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for basePipeline- Returns:
- A modified copy of
this
object
-
withBasePipelineIndex
public final VulkanGraphicsPipelineCreateInfo withBasePipelineIndex(int value)
Copy the current immutable object by setting a present value for the optionalbasePipelineIndex
attribute.- Parameters:
value
- The value for basePipelineIndex- Returns:
- A modified copy of
this
object
-
withBasePipelineIndex
public final VulkanGraphicsPipelineCreateInfo withBasePipelineIndex(java.util.OptionalInt optional)
Copy the current immutable object by setting an optional value for thebasePipelineIndex
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- Parameters:
optional
- A value for basePipelineIndex- Returns:
- A modified copy of
this
object
-
equals
public boolean equals(java.lang.Object another)
This instance is equal to all instances ofVulkanGraphicsPipelineCreateInfo
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
,stages
,vertexInputState
,inputAssemblyState
,tessellationState
,viewportState
,rasterizationState
,multisampleState
,depthStencilState
,colorBlendState
,dynamicState
,layout
,renderPass
,subpass
,basePipeline
,basePipelineIndex
.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueVulkanGraphicsPipelineCreateInfo
with attribute values.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of the value
-
of
public static VulkanGraphicsPipelineCreateInfo of(java.util.Set<VulkanPipelineCreateFlag> flags, java.util.List<VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, java.util.Optional<VulkanPipelineTessellationStateCreateInfo> tessellationState, java.util.Optional<VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, java.util.Optional<VulkanPipelineMultisampleStateCreateInfo> multisampleState, java.util.Optional<VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, java.util.Optional<VulkanPipelineColorBlendStateCreateInfo> colorBlendState, java.util.Optional<VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, java.util.Optional<VulkanPipelineType> basePipeline, java.util.OptionalInt basePipelineIndex)
Construct a new immutableVulkanGraphicsPipelineCreateInfo
instance.- Parameters:
flags
- The value for theflags
attributestages
- The value for thestages
attributevertexInputState
- The value for thevertexInputState
attributeinputAssemblyState
- The value for theinputAssemblyState
attributetessellationState
- The value for thetessellationState
attributeviewportState
- The value for theviewportState
attributerasterizationState
- The value for therasterizationState
attributemultisampleState
- The value for themultisampleState
attributedepthStencilState
- The value for thedepthStencilState
attributecolorBlendState
- The value for thecolorBlendState
attributedynamicState
- The value for thedynamicState
attributelayout
- The value for thelayout
attributerenderPass
- The value for therenderPass
attributesubpass
- The value for thesubpass
attributebasePipeline
- The value for thebasePipeline
attributebasePipelineIndex
- The value for thebasePipelineIndex
attribute- Returns:
- An immutable VulkanGraphicsPipelineCreateInfo instance
-
of
public static VulkanGraphicsPipelineCreateInfo of(java.lang.Iterable<VulkanPipelineCreateFlag> flags, java.lang.Iterable<? extends VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, java.util.Optional<? extends VulkanPipelineTessellationStateCreateInfo> tessellationState, java.util.Optional<? extends VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, java.util.Optional<? extends VulkanPipelineMultisampleStateCreateInfo> multisampleState, java.util.Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, java.util.Optional<? extends VulkanPipelineColorBlendStateCreateInfo> colorBlendState, java.util.Optional<? extends VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, java.util.Optional<? extends VulkanPipelineType> basePipeline, java.util.OptionalInt basePipelineIndex)
Construct a new immutableVulkanGraphicsPipelineCreateInfo
instance.- Parameters:
flags
- The value for theflags
attributestages
- The value for thestages
attributevertexInputState
- The value for thevertexInputState
attributeinputAssemblyState
- The value for theinputAssemblyState
attributetessellationState
- The value for thetessellationState
attributeviewportState
- The value for theviewportState
attributerasterizationState
- The value for therasterizationState
attributemultisampleState
- The value for themultisampleState
attributedepthStencilState
- The value for thedepthStencilState
attributecolorBlendState
- The value for thecolorBlendState
attributedynamicState
- The value for thedynamicState
attributelayout
- The value for thelayout
attributerenderPass
- The value for therenderPass
attributesubpass
- The value for thesubpass
attributebasePipeline
- The value for thebasePipeline
attributebasePipelineIndex
- The value for thebasePipelineIndex
attribute- Returns:
- An immutable VulkanGraphicsPipelineCreateInfo instance
-
copyOf
public static VulkanGraphicsPipelineCreateInfo copyOf(VulkanGraphicsPipelineCreateInfoType instance)
Creates an immutable copy of aVulkanGraphicsPipelineCreateInfoType
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 VulkanGraphicsPipelineCreateInfo instance
-
builder
public static VulkanGraphicsPipelineCreateInfo.Builder builder()
Creates a builder forVulkanGraphicsPipelineCreateInfo
.- Returns:
- A new VulkanGraphicsPipelineCreateInfo builder
-
-