# Class VulkanGraphicsPipelineCreateInfo

java.lang.Object
com.io7m.jcoronado.api.VulkanGraphicsPipelineCreateInfo

All Implemented Interfaces:
  `VulkanGraphicsPipelineCreateInfoType`

public final class VulkanGraphicsPipelineCreateInfo extends 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 final class`
  `VulkanGraphicsPipelineCreateInfo.Builder`
  Builds instances of type `VulkanGraphicsPipelineCreateInfo`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<VulkanPipelineType>`
  `basePipeline()`
  `OptionalInt`
  `basePipelineIndex()`
  `static VulkanGraphicsPipelineCreateInfo.Builder`
  `builder()`
  Creates a builder for `VulkanGraphicsPipelineCreateInfo`.
  `Optional<VulkanPipelineColorBlendStateCreateInfo>`
  `colorBlendState()`
  `static VulkanGraphicsPipelineCreateInfo`
  `copyOf(VulkanGraphicsPipelineCreateInfoType instance)`
  Creates an immutable copy of a `VulkanGraphicsPipelineCreateInfoType` value.
  `Optional<VulkanPipelineDepthStencilStateCreateInfo>`
  `depthStencilState()`
  `Optional<VulkanPipelineDynamicStateCreateInfo>`
  `dynamicState()`
  `boolean`
  `equals(Object another)`
  This instance is equal to all instances of `VulkanGraphicsPipelineCreateInfo` that have equal attribute values.
  `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()`
  `Optional<VulkanPipelineMultisampleStateCreateInfo>`
  `multisampleState()`
  `static VulkanGraphicsPipelineCreateInfo`
  `of(Iterable<VulkanPipelineCreateFlag> flags, Iterable<? extends VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, Optional<? extends VulkanPipelineTessellationStateCreateInfo> tessellationState, Optional<? extends VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, Optional<? extends VulkanPipelineMultisampleStateCreateInfo> multisampleState, Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, Optional<? extends VulkanPipelineColorBlendStateCreateInfo> colorBlendState, Optional<? extends VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, Optional<? extends VulkanPipelineType> basePipeline, OptionalInt basePipelineIndex)`
  Construct a new immutable `VulkanGraphicsPipelineCreateInfo` instance.
  `static VulkanGraphicsPipelineCreateInfo`
  `of(Set<VulkanPipelineCreateFlag> flags, List<VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, Optional<VulkanPipelineTessellationStateCreateInfo> tessellationState, Optional<VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, Optional<VulkanPipelineMultisampleStateCreateInfo> multisampleState, Optional<VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, Optional<VulkanPipelineColorBlendStateCreateInfo> colorBlendState, Optional<VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, Optional<VulkanPipelineType> basePipeline, OptionalInt basePipelineIndex)`
  Construct a new immutable `VulkanGraphicsPipelineCreateInfo` instance.
  `VulkanPipelineRasterizationStateCreateInfo`
  `rasterizationState()`
  `VulkanRenderPassType`
  `renderPass()`
  `List<VulkanPipelineShaderStageCreateInfo>`
  `stages()`
  `int`
  `subpass()`
  `Optional<VulkanPipelineTessellationStateCreateInfo>`
  `tessellationState()`
  `String`
  `toString()`
  Prints the immutable value `VulkanGraphicsPipelineCreateInfo` with attribute values.
  `VulkanPipelineVertexInputStateCreateInfo`
  `vertexInputState()`
  `Optional<VulkanPipelineViewportStateCreateInfo>`
  `viewportState()`
  `final VulkanGraphicsPipelineCreateInfo`
  `withBasePipeline(VulkanPipelineType value)`
  Copy the current immutable object by setting a present value for the optional `basePipeline` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withBasePipeline(Optional<? extends VulkanPipelineType> optional)`
  Copy the current immutable object by setting an optional value for the `basePipeline` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withBasePipelineIndex(int value)`
  Copy the current immutable object by setting a present value for the optional `basePipelineIndex` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withBasePipelineIndex(OptionalInt optional)`
  Copy the current immutable object by setting an optional value for the `basePipelineIndex` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withColorBlendState(VulkanPipelineColorBlendStateCreateInfo value)`
  Copy the current immutable object by setting a present value for the optional `colorBlendState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withColorBlendState(Optional<? extends VulkanPipelineColorBlendStateCreateInfo> optional)`
  Copy the current immutable object by setting an optional value for the `colorBlendState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withDepthStencilState(VulkanPipelineDepthStencilStateCreateInfo value)`
  Copy the current immutable object by setting a present value for the optional `depthStencilState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withDepthStencilState(Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> optional)`
  Copy the current immutable object by setting an optional value for the `depthStencilState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withDynamicState(VulkanPipelineDynamicStateCreateInfo value)`
  Copy the current immutable object by setting a present value for the optional `dynamicState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withDynamicState(Optional<? extends VulkanPipelineDynamicStateCreateInfo> optional)`
  Copy the current immutable object by setting an optional value for the `dynamicState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withFlags(VulkanPipelineCreateFlag... elements)`
  Copy the current immutable object with elements that replace the content of `flags`.
  `final VulkanGraphicsPipelineCreateInfo`
  `withFlags(Iterable<VulkanPipelineCreateFlag> elements)`
  Copy the current immutable object with elements that replace the content of `flags`.
  `final VulkanGraphicsPipelineCreateInfo`
  `withInputAssemblyState(VulkanPipelineInputAssemblyStateCreateInfo value)`
  Copy the current immutable object by setting a value for the `inputAssemblyState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withLayout(VulkanPipelineLayoutType value)`
  Copy the current immutable object by setting a value for the `layout` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withMultisampleState(VulkanPipelineMultisampleStateCreateInfo value)`
  Copy the current immutable object by setting a present value for the optional `multisampleState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withMultisampleState(Optional<? extends VulkanPipelineMultisampleStateCreateInfo> optional)`
  Copy the current immutable object by setting an optional value for the `multisampleState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withRasterizationState(VulkanPipelineRasterizationStateCreateInfo value)`
  Copy the current immutable object by setting a value for the `rasterizationState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withRenderPass(VulkanRenderPassType value)`
  Copy the current immutable object by setting a value for the `renderPass` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withStages(VulkanPipelineShaderStageCreateInfo... elements)`
  Copy the current immutable object with elements that replace the content of `stages`.
  `final VulkanGraphicsPipelineCreateInfo`
  `withStages(Iterable<? extends VulkanPipelineShaderStageCreateInfo> elements)`
  Copy the current immutable object with elements that replace the content of `stages`.
  `final VulkanGraphicsPipelineCreateInfo`
  `withSubpass(int value)`
  Copy the current immutable object by setting a value for the `subpass` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withTessellationState(VulkanPipelineTessellationStateCreateInfo value)`
  Copy the current immutable object by setting a present value for the optional `tessellationState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withTessellationState(Optional<? extends VulkanPipelineTessellationStateCreateInfo> optional)`
  Copy the current immutable object by setting an optional value for the `tessellationState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withVertexInputState(VulkanPipelineVertexInputStateCreateInfo value)`
  Copy the current immutable object by setting a value for the `vertexInputState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withViewportState(VulkanPipelineViewportStateCreateInfo value)`
  Copy the current immutable object by setting a present value for the optional `viewportState` attribute.
  `final VulkanGraphicsPipelineCreateInfo`
  `withViewportState(Optional<? extends VulkanPipelineViewportStateCreateInfo> optional)`
  Copy the current immutable object by setting an optional value for the `viewportState` attribute.

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### flags

    public Set<VulkanPipelineCreateFlag> flags()
    Specified by:
      `flags` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      Flags specifying how the pipeline will be generated.

  - ### stages

    public List<VulkanPipelineShaderStageCreateInfo> stages()
    Specified by:
      `stages` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      The shader stages to be included in the graphics pipeline.

  - ### vertexInputState

    public VulkanPipelineVertexInputStateCreateInfo vertexInputState()
    Specified by:
      `vertexInputState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the vertex shading stage

  - ### inputAssemblyState

    public VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState()
    Specified by:
      `inputAssemblyState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the input assembly stage

  - ### tessellationState

    public Optional<VulkanPipelineTessellationStateCreateInfo> tessellationState()
    Specified by:
      `tessellationState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the tesselation stage

  - ### viewportState

    public Optional<VulkanPipelineViewportStateCreateInfo> viewportState()
    Specified by:
      `viewportState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the viewport

  - ### rasterizationState

    public VulkanPipelineRasterizationStateCreateInfo rasterizationState()
    Specified by:
      `rasterizationState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the rasterization stage

  - ### multisampleState

    public Optional<VulkanPipelineMultisampleStateCreateInfo> multisampleState()
    Specified by:
      `multisampleState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for multisampling

  - ### depthStencilState

    public Optional<VulkanPipelineDepthStencilStateCreateInfo> depthStencilState()
    Specified by:
      `depthStencilState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the depth/stencil buffer

  - ### colorBlendState

    public Optional<VulkanPipelineColorBlendStateCreateInfo> colorBlendState()
    Specified by:
      `colorBlendState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      State for the color blending stage

  - ### dynamicState

    public Optional<VulkanPipelineDynamicStateCreateInfo> dynamicState()
    Specified by:
      `dynamicState` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      Dynamic state

  - ### layout

    public VulkanPipelineLayoutType layout()
    Specified by:
      `layout` in interface `VulkanGraphicsPipelineCreateInfoType`
    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 interface `VulkanGraphicsPipelineCreateInfoType`
    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 interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      The index of the subpass in the render pass where this pipeline will be used.

  - ### basePipeline

    public Optional<VulkanPipelineType> basePipeline()
    Specified by:
      `basePipeline` in interface `VulkanGraphicsPipelineCreateInfoType`
    Returns:
      A pipeline to derive from.

  - ### basePipelineIndex

    public OptionalInt basePipelineIndex()
    Specified by:
      `basePipelineIndex` in interface `VulkanGraphicsPipelineCreateInfoType`
    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 of `flags`.
    Parameters:
      `elements` - The elements to set
    Returns:
      A modified copy of `this` object

  - ### withFlags

    public final VulkanGraphicsPipelineCreateInfo withFlags(Iterable<VulkanPipelineCreateFlag> elements)
    Copy the current immutable object with elements that replace the content of `flags`. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 of `stages`.
    Parameters:
      `elements` - The elements to set
    Returns:
      A modified copy of `this` object

  - ### withStages

    public final VulkanGraphicsPipelineCreateInfo withStages(Iterable<? extends VulkanPipelineShaderStageCreateInfo> elements)
    Copy the current immutable object with elements that replace the content of `stages`. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 the `vertexInputState` attribute. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 the `inputAssemblyState` attribute. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 optional `tessellationState` attribute.
    Parameters:
      `value` - The value for tessellationState
    Returns:
      A modified copy of `this` object

  - ### withTessellationState

    public final VulkanGraphicsPipelineCreateInfo withTessellationState(Optional<? extends VulkanPipelineTessellationStateCreateInfo> optional)
    Copy the current immutable object by setting an optional value for the `tessellationState` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 optional `viewportState` attribute.
    Parameters:
      `value` - The value for viewportState
    Returns:
      A modified copy of `this` object

  - ### withViewportState

    public final VulkanGraphicsPipelineCreateInfo withViewportState(Optional<? extends VulkanPipelineViewportStateCreateInfo> optional)
    Copy the current immutable object by setting an optional value for the `viewportState` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 the `rasterizationState` attribute. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 optional `multisampleState` attribute.
    Parameters:
      `value` - The value for multisampleState
    Returns:
      A modified copy of `this` object

  - ### withMultisampleState

    public final VulkanGraphicsPipelineCreateInfo withMultisampleState(Optional<? extends VulkanPipelineMultisampleStateCreateInfo> optional)
    Copy the current immutable object by setting an optional value for the `multisampleState` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 optional `depthStencilState` attribute.
    Parameters:
      `value` - The value for depthStencilState
    Returns:
      A modified copy of `this` object

  - ### withDepthStencilState

    public final VulkanGraphicsPipelineCreateInfo withDepthStencilState(Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> optional)
    Copy the current immutable object by setting an optional value for the `depthStencilState` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 optional `colorBlendState` attribute.
    Parameters:
      `value` - The value for colorBlendState
    Returns:
      A modified copy of `this` object

  - ### withColorBlendState

    public final VulkanGraphicsPipelineCreateInfo withColorBlendState(Optional<? extends VulkanPipelineColorBlendStateCreateInfo> optional)
    Copy the current immutable object by setting an optional value for the `colorBlendState` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 optional `dynamicState` attribute.
    Parameters:
      `value` - The value for dynamicState
    Returns:
      A modified copy of `this` object

  - ### withDynamicState

    public final VulkanGraphicsPipelineCreateInfo withDynamicState(Optional<? extends VulkanPipelineDynamicStateCreateInfo> optional)
    Copy the current immutable object by setting an optional value for the `dynamicState` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 the `layout` attribute. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 the `renderPass` attribute. A shallow reference equality check is used to prevent copying of the same value by returning `this`.
    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 the `subpass` attribute. A value equality check is used to prevent copying of the same value by returning `this`.
    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 optional `basePipeline` attribute.
    Parameters:
      `value` - The value for basePipeline
    Returns:
      A modified copy of `this` object

  - ### withBasePipeline

    public final VulkanGraphicsPipelineCreateInfo withBasePipeline(Optional<? extends VulkanPipelineType> optional)
    Copy the current immutable object by setting an optional value for the `basePipeline` attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning `this`.
    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 optional `basePipelineIndex` attribute.
    Parameters:
      `value` - The value for basePipelineIndex
    Returns:
      A modified copy of `this` object

  - ### withBasePipelineIndex

    public final VulkanGraphicsPipelineCreateInfo withBasePipelineIndex(OptionalInt optional)
    Copy the current immutable object by setting an optional value for the `basePipelineIndex` attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning `this`.
    Parameters:
      `optional` - A value for basePipelineIndex
    Returns:
      A modified copy of `this` object

  - ### equals

    public boolean equals(Object another)
    This instance is equal to all instances of `VulkanGraphicsPipelineCreateInfo` that have equal attribute values.
    Overrides:
      `equals` in class `Object`
    Returns:
      `true` if `this` is equal to `another` 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 class `Object`
    Returns:
      hashCode value

  - ### toString

    public String toString()
    Prints the immutable value `VulkanGraphicsPipelineCreateInfo` with attribute values.
    Overrides:
      `toString` in class `Object`
    Returns:
      A string representation of the value

  - ### of

    public static VulkanGraphicsPipelineCreateInfo of(Set<VulkanPipelineCreateFlag> flags, List<VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, Optional<VulkanPipelineTessellationStateCreateInfo> tessellationState, Optional<VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, Optional<VulkanPipelineMultisampleStateCreateInfo> multisampleState, Optional<VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, Optional<VulkanPipelineColorBlendStateCreateInfo> colorBlendState, Optional<VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, Optional<VulkanPipelineType> basePipeline, OptionalInt basePipelineIndex)
    Construct a new immutable `VulkanGraphicsPipelineCreateInfo` instance.
    Parameters:
      `flags` - The value for the `flags` attribute
      `stages` - The value for the `stages` attribute
      `vertexInputState` - The value for the `vertexInputState` attribute
      `inputAssemblyState` - The value for the `inputAssemblyState` attribute
      `tessellationState` - The value for the `tessellationState` attribute
      `viewportState` - The value for the `viewportState` attribute
      `rasterizationState` - The value for the `rasterizationState` attribute
      `multisampleState` - The value for the `multisampleState` attribute
      `depthStencilState` - The value for the `depthStencilState` attribute
      `colorBlendState` - The value for the `colorBlendState` attribute
      `dynamicState` - The value for the `dynamicState` attribute
      `layout` - The value for the `layout` attribute
      `renderPass` - The value for the `renderPass` attribute
      `subpass` - The value for the `subpass` attribute
      `basePipeline` - The value for the `basePipeline` attribute
      `basePipelineIndex` - The value for the `basePipelineIndex` attribute
    Returns:
      An immutable VulkanGraphicsPipelineCreateInfo instance

  - ### of

    public static VulkanGraphicsPipelineCreateInfo of(Iterable<VulkanPipelineCreateFlag> flags, Iterable<? extends VulkanPipelineShaderStageCreateInfo> stages, VulkanPipelineVertexInputStateCreateInfo vertexInputState, VulkanPipelineInputAssemblyStateCreateInfo inputAssemblyState, Optional<? extends VulkanPipelineTessellationStateCreateInfo> tessellationState, Optional<? extends VulkanPipelineViewportStateCreateInfo> viewportState, VulkanPipelineRasterizationStateCreateInfo rasterizationState, Optional<? extends VulkanPipelineMultisampleStateCreateInfo> multisampleState, Optional<? extends VulkanPipelineDepthStencilStateCreateInfo> depthStencilState, Optional<? extends VulkanPipelineColorBlendStateCreateInfo> colorBlendState, Optional<? extends VulkanPipelineDynamicStateCreateInfo> dynamicState, VulkanPipelineLayoutType layout, VulkanRenderPassType renderPass, int subpass, Optional<? extends VulkanPipelineType> basePipeline, OptionalInt basePipelineIndex)
    Construct a new immutable `VulkanGraphicsPipelineCreateInfo` instance.
    Parameters:
      `flags` - The value for the `flags` attribute
      `stages` - The value for the `stages` attribute
      `vertexInputState` - The value for the `vertexInputState` attribute
      `inputAssemblyState` - The value for the `inputAssemblyState` attribute
      `tessellationState` - The value for the `tessellationState` attribute
      `viewportState` - The value for the `viewportState` attribute
      `rasterizationState` - The value for the `rasterizationState` attribute
      `multisampleState` - The value for the `multisampleState` attribute
      `depthStencilState` - The value for the `depthStencilState` attribute
      `colorBlendState` - The value for the `colorBlendState` attribute
      `dynamicState` - The value for the `dynamicState` attribute
      `layout` - The value for the `layout` attribute
      `renderPass` - The value for the `renderPass` attribute
      `subpass` - The value for the `subpass` attribute
      `basePipeline` - The value for the `basePipeline` attribute
      `basePipelineIndex` - The value for the `basePipelineIndex` attribute
    Returns:
      An immutable VulkanGraphicsPipelineCreateInfo instance

  - ### copyOf

    public static VulkanGraphicsPipelineCreateInfo copyOf(VulkanGraphicsPipelineCreateInfoType instance)
    Creates an immutable copy of a `VulkanGraphicsPipelineCreateInfoType` 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 for `VulkanGraphicsPipelineCreateInfo`.

         VulkanGraphicsPipelineCreateInfo.builder()
            .addFlags|addAllFlags(com.io7m.jcoronado.api.VulkanPipelineCreateFlag) // flags elements
            .addStages|addAllStages(VulkanPipelineShaderStageCreateInfo) // stages elements
            .setVertexInputState(com.io7m.jcoronado.api.VulkanPipelineVertexInputStateCreateInfo) // required vertexInputState
            .setInputAssemblyState(com.io7m.jcoronado.api.VulkanPipelineInputAssemblyStateCreateInfo) // required inputAssemblyState
            .setTessellationState(VulkanPipelineTessellationStateCreateInfo) // optional tessellationState
            .setViewportState(VulkanPipelineViewportStateCreateInfo) // optional viewportState
            .setRasterizationState(com.io7m.jcoronado.api.VulkanPipelineRasterizationStateCreateInfo) // required rasterizationState
            .setMultisampleState(VulkanPipelineMultisampleStateCreateInfo) // optional multisampleState
            .setDepthStencilState(VulkanPipelineDepthStencilStateCreateInfo) // optional depthStencilState
            .setColorBlendState(VulkanPipelineColorBlendStateCreateInfo) // optional colorBlendState
            .setDynamicState(VulkanPipelineDynamicStateCreateInfo) // optional dynamicState
            .setLayout(com.io7m.jcoronado.api.VulkanPipelineLayoutType) // required layout
            .setRenderPass(com.io7m.jcoronado.api.VulkanRenderPassType) // required renderPass
            .setSubpass(int) // required subpass
            .setBasePipeline(com.io7m.jcoronado.api.VulkanPipelineType) // optional basePipeline
            .setBasePipelineIndex(int) // optional basePipelineIndex
            .build();

    Returns:
      A new VulkanGraphicsPipelineCreateInfo builder