Interface VulkanVersionType

All Superinterfaces:
Comparable<VulkanVersionType>
All Known Implementing Classes:
VulkanVersion

@Immutable public interface VulkanVersionType extends Comparable<VulkanVersionType>
A Vulkan API version consisting of a major, minor, and patch component.
  • Method Details

    • major

      @Default default int major()
      Returns:
      The major version
    • minor

      @Default default int minor()
      Returns:
      The minor version
    • patch

      @Default default int patch()
      Returns:
      The patch version
    • toHumanString

      default String toHumanString()
      Returns:
      The current version as a humanly-readable string
    • compareTo

      default int compareTo(VulkanVersionType other)
      Specified by:
      compareTo in interface Comparable<VulkanVersionType>