Class VulkanLogicalDeviceQueueCreateInfo

    • Method Detail

      • withFlags

        public final VulkanLogicalDeviceQueueCreateInfo withFlags​(java.lang.Iterable<VulkanDeviceQueueCreationFlag> 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
      • withQueueFamilyIndex

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

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

        public final VulkanLogicalDeviceQueueCreateInfo withQueuePriorities​(float... elements)
        Copy the current immutable object with elements that replace the content of queuePriorities. The array is cloned before being saved as attribute values.
        Parameters:
        elements - The non-null elements for queuePriorities
        Returns:
        A modified copy of this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of VulkanLogicalDeviceQueueCreateInfo 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, queueFamilyIndex, queueCount, queuePriorities.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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

        public static VulkanLogicalDeviceQueueCreateInfo of​(java.util.Set<VulkanDeviceQueueCreationFlag> flags,
                                                            int queueFamilyIndex,
                                                            int queueCount,
                                                            float[] queuePriorities)
        Construct a new immutable VulkanLogicalDeviceQueueCreateInfo instance.
        Parameters:
        flags - The value for the flags attribute
        queueFamilyIndex - The value for the queueFamilyIndex attribute
        queueCount - The value for the queueCount attribute
        queuePriorities - The value for the queuePriorities attribute
        Returns:
        An immutable VulkanLogicalDeviceQueueCreateInfo instance
      • of

        public static VulkanLogicalDeviceQueueCreateInfo of​(java.lang.Iterable<VulkanDeviceQueueCreationFlag> flags,
                                                            int queueFamilyIndex,
                                                            int queueCount,
                                                            float[] queuePriorities)
        Construct a new immutable VulkanLogicalDeviceQueueCreateInfo instance.
        Parameters:
        flags - The value for the flags attribute
        queueFamilyIndex - The value for the queueFamilyIndex attribute
        queueCount - The value for the queueCount attribute
        queuePriorities - The value for the queuePriorities attribute
        Returns:
        An immutable VulkanLogicalDeviceQueueCreateInfo instance