Class VulkanRenderPassBeginInfo

    • Method Detail

      • withRenderPass

        public final VulkanRenderPassBeginInfo 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
      • withFramebuffer

        public final VulkanRenderPassBeginInfo withFramebuffer​(VulkanFramebufferType value)
        Copy the current immutable object by setting a value for the framebuffer attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for framebuffer
        Returns:
        A modified copy of the this object
      • withRenderArea

        public final VulkanRenderPassBeginInfo withRenderArea​(VulkanRectangle2D value)
        Copy the current immutable object by setting a value for the renderArea attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for renderArea
        Returns:
        A modified copy of the this object
      • withClearValues

        public final VulkanRenderPassBeginInfo withClearValues​(VulkanClearValueType... elements)
        Copy the current immutable object with elements that replace the content of clearValues.
        Parameters:
        elements - The elements to set
        Returns:
        A modified copy of this object
      • withClearValues

        public final VulkanRenderPassBeginInfo withClearValues​(java.lang.Iterable<? extends VulkanClearValueType> elements)
        Copy the current immutable object with elements that replace the content of clearValues. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of clearValues 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 VulkanRenderPassBeginInfo 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: renderPass, framebuffer, renderArea, clearValues.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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

        public static VulkanRenderPassBeginInfo of​(VulkanRenderPassType renderPass,
                                                   VulkanFramebufferType framebuffer,
                                                   VulkanRectangle2D renderArea,
                                                   java.util.List<VulkanClearValueType> clearValues)
        Construct a new immutable VulkanRenderPassBeginInfo instance.
        Parameters:
        renderPass - The value for the renderPass attribute
        framebuffer - The value for the framebuffer attribute
        renderArea - The value for the renderArea attribute
        clearValues - The value for the clearValues attribute
        Returns:
        An immutable VulkanRenderPassBeginInfo instance
      • of

        public static VulkanRenderPassBeginInfo of​(VulkanRenderPassType renderPass,
                                                   VulkanFramebufferType framebuffer,
                                                   VulkanRectangle2D renderArea,
                                                   java.lang.Iterable<? extends VulkanClearValueType> clearValues)
        Construct a new immutable VulkanRenderPassBeginInfo instance.
        Parameters:
        renderPass - The value for the renderPass attribute
        framebuffer - The value for the framebuffer attribute
        renderArea - The value for the renderArea attribute
        clearValues - The value for the clearValues attribute
        Returns:
        An immutable VulkanRenderPassBeginInfo instance