# 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 Summary

  Modifier and Type
  Method
  Description
  `default int`
  `compareTo(VulkanVersionType other)`
  `int`
  `major()`
  `int`
  `minor()`
  `int`
  `patch()`
  `default String`
  `toHumanString()`

- ## Method Details

  - ### major

    @Parameter int major()
    Returns:
      The major version

  - ### minor

    @Parameter int minor()
    Returns:
      The minor version

  - ### patch

    @Parameter 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>`