Class VulkanImageViewCreateInfo

    • Method Detail

      • withFlags

        public final VulkanImageViewCreateInfo withFlags​(java.lang.Iterable<VulkanImageViewCreateFlag> 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
      • withImage

        public final VulkanImageViewCreateInfo withImage​(VulkanImageType value)
        Copy the current immutable object by setting a value for the image attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for image
        Returns:
        A modified copy of the this object
      • withViewType

        public final VulkanImageViewCreateInfo withViewType​(VulkanImageViewKind value)
        Copy the current immutable object by setting a value for the viewType attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for viewType
        Returns:
        A modified copy of the this object
      • withFormat

        public final VulkanImageViewCreateInfo withFormat​(VulkanFormat value)
        Copy the current immutable object by setting a value for the format attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for format
        Returns:
        A modified copy of the this object
      • withComponents

        public final VulkanImageViewCreateInfo withComponents​(VulkanComponentMapping value)
        Copy the current immutable object by setting a value for the components attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for components
        Returns:
        A modified copy of the this object
      • withSubresourceRange

        public final VulkanImageViewCreateInfo withSubresourceRange​(VulkanImageSubresourceRange value)
        Copy the current immutable object by setting a value for the subresourceRange attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for subresourceRange
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of VulkanImageViewCreateInfo 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, image, viewType, format, components, subresourceRange.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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