-
- All Superinterfaces:
java.lang.Comparable<VulkanVersionType>
- All Known Implementing Classes:
VulkanVersion
@Immutable public interface VulkanVersionType extends java.lang.Comparable<VulkanVersionType>
A Vulkan API version consisting of a major, minor, and patch component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
compareTo(VulkanVersionType other)
int
major()
int
minor()
int
patch()
default java.lang.String
toHumanString()
-
-
-
Method Detail
-
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 java.lang.String toHumanString()
- Returns:
- The current version as a humanly-readable string
-
compareTo
default int compareTo(VulkanVersionType other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<VulkanVersionType>
-
-