Class VulkanCopyDescriptorSet

    • Method Detail

      • withSourceSet

        public final VulkanCopyDescriptorSet withSourceSet​(VulkanDescriptorSetType value)
        Copy the current immutable object by setting a value for the sourceSet attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for sourceSet
        Returns:
        A modified copy of the this object
      • withSourceBinding

        public final VulkanCopyDescriptorSet withSourceBinding​(int value)
        Copy the current immutable object by setting a value for the sourceBinding attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for sourceBinding
        Returns:
        A modified copy of the this object
      • withSourceArrayElement

        public final VulkanCopyDescriptorSet withSourceArrayElement​(int value)
        Copy the current immutable object by setting a value for the sourceArrayElement attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for sourceArrayElement
        Returns:
        A modified copy of the this object
      • withDestinationSet

        public final VulkanCopyDescriptorSet withDestinationSet​(VulkanDescriptorSetType value)
        Copy the current immutable object by setting a value for the destinationSet attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for destinationSet
        Returns:
        A modified copy of the this object
      • withDestinationBinding

        public final VulkanCopyDescriptorSet withDestinationBinding​(int value)
        Copy the current immutable object by setting a value for the destinationBinding attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for destinationBinding
        Returns:
        A modified copy of the this object
      • withDestinationArrayElement

        public final VulkanCopyDescriptorSet withDestinationArrayElement​(int value)
        Copy the current immutable object by setting a value for the destinationArrayElement attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for destinationArrayElement
        Returns:
        A modified copy of the this object
      • withDescriptorCount

        public final VulkanCopyDescriptorSet withDescriptorCount​(int value)
        Copy the current immutable object by setting a value for the descriptorCount attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for descriptorCount
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of VulkanCopyDescriptorSet 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: sourceSet, sourceBinding, sourceArrayElement, destinationSet, destinationBinding, destinationArrayElement, descriptorCount.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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

        public static VulkanCopyDescriptorSet of​(VulkanDescriptorSetType sourceSet,
                                                 int sourceBinding,
                                                 int sourceArrayElement,
                                                 VulkanDescriptorSetType destinationSet,
                                                 int destinationBinding,
                                                 int destinationArrayElement,
                                                 int descriptorCount)
        Construct a new immutable VulkanCopyDescriptorSet instance.
        Parameters:
        sourceSet - The value for the sourceSet attribute
        sourceBinding - The value for the sourceBinding attribute
        sourceArrayElement - The value for the sourceArrayElement attribute
        destinationSet - The value for the destinationSet attribute
        destinationBinding - The value for the destinationBinding attribute
        destinationArrayElement - The value for the destinationArrayElement attribute
        descriptorCount - The value for the descriptorCount attribute
        Returns:
        An immutable VulkanCopyDescriptorSet instance
      • copyOf

        public static VulkanCopyDescriptorSet copyOf​(VulkanCopyDescriptorSetType instance)
        Creates an immutable copy of a VulkanCopyDescriptorSetType 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 VulkanCopyDescriptorSet instance