Class VulkanDescriptorPoolCreateInfo

    • Method Detail

      • withFlags

        public final VulkanDescriptorPoolCreateInfo withFlags​(java.lang.Iterable<VulkanDescriptorPoolCreateFlag> 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
      • withMaxSets

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

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

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

        public static VulkanDescriptorPoolCreateInfo of​(java.util.Set<VulkanDescriptorPoolCreateFlag> flags,
                                                        int maxSets,
                                                        java.util.List<VulkanDescriptorPoolSize> poolSizes)
        Construct a new immutable VulkanDescriptorPoolCreateInfo instance.
        Parameters:
        flags - The value for the flags attribute
        maxSets - The value for the maxSets attribute
        poolSizes - The value for the poolSizes attribute
        Returns:
        An immutable VulkanDescriptorPoolCreateInfo instance
      • of

        public static VulkanDescriptorPoolCreateInfo of​(java.lang.Iterable<VulkanDescriptorPoolCreateFlag> flags,
                                                        int maxSets,
                                                        java.lang.Iterable<? extends VulkanDescriptorPoolSize> poolSizes)
        Construct a new immutable VulkanDescriptorPoolCreateInfo instance.
        Parameters:
        flags - The value for the flags attribute
        maxSets - The value for the maxSets attribute
        poolSizes - The value for the poolSizes attribute
        Returns:
        An immutable VulkanDescriptorPoolCreateInfo instance