Class VulkanRenderPassCreateInfo

    • Method Detail

      • withFlags

        public final VulkanRenderPassCreateInfo withFlags​(java.lang.Iterable<VulkanRenderPassCreateFlag> 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
      • withAttachments

        public final VulkanRenderPassCreateInfo withAttachments​(java.lang.Iterable<? extends VulkanAttachmentDescription> elements)
        Copy the current immutable object with elements that replace the content of attachments. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of attachments elements to set
        Returns:
        A modified copy of this object
      • withSubpasses

        public final VulkanRenderPassCreateInfo withSubpasses​(java.lang.Iterable<? extends VulkanSubpassDescription> elements)
        Copy the current immutable object with elements that replace the content of subpasses. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of subpasses elements to set
        Returns:
        A modified copy of this object
      • withDependencies

        public final VulkanRenderPassCreateInfo withDependencies​(java.lang.Iterable<? extends VulkanSubpassDependency> elements)
        Copy the current immutable object with elements that replace the content of dependencies. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of dependencies 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 of VulkanRenderPassCreateInfo that have equal attribute values.
        Overrides:
        equals in class java.lang.Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: flags, attachments, subpasses, dependencies.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

        public java.lang.String toString()
        Prints the immutable value VulkanRenderPassCreateInfo with attribute values.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the value
      • of

        public static VulkanRenderPassCreateInfo of​(java.lang.Iterable<VulkanRenderPassCreateFlag> flags,
                                                    java.lang.Iterable<? extends VulkanAttachmentDescription> attachments,
                                                    java.lang.Iterable<? extends VulkanSubpassDescription> subpasses,
                                                    java.lang.Iterable<? extends VulkanSubpassDependency> dependencies)
        Construct a new immutable VulkanRenderPassCreateInfo instance.
        Parameters:
        flags - The value for the flags attribute
        attachments - The value for the attachments attribute
        subpasses - The value for the subpasses attribute
        dependencies - The value for the dependencies attribute
        Returns:
        An immutable VulkanRenderPassCreateInfo instance