Class VulkanApplicationInfo

    • Method Detail

      • withApplicationName

        public final VulkanApplicationInfo withApplicationName​(java.lang.String value)
        Copy the current immutable object by setting a value for the applicationName attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for applicationName
        Returns:
        A modified copy of the this object
      • withApplicationVersion

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

        public final VulkanApplicationInfo withEngineName​(java.lang.String value)
        Copy the current immutable object by setting a value for the engineName attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for engineName
        Returns:
        A modified copy of the this object
      • withEngineVersion

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

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

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of VulkanApplicationInfo 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: applicationName, applicationVersion, engineName, engineVersion, vulkanAPIVersion.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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

        public static VulkanApplicationInfo of​(java.lang.String applicationName,
                                               int applicationVersion,
                                               java.lang.String engineName,
                                               int engineVersion,
                                               int vulkanAPIVersion)
        Construct a new immutable VulkanApplicationInfo instance.
        Parameters:
        applicationName - The value for the applicationName attribute
        applicationVersion - The value for the applicationVersion attribute
        engineName - The value for the engineName attribute
        engineVersion - The value for the engineVersion attribute
        vulkanAPIVersion - The value for the vulkanAPIVersion attribute
        Returns:
        An immutable VulkanApplicationInfo instance
      • copyOf

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