struct
VersionRepresents and stores a version number.
Public static functions
- static auto getMaxUsedVulkanAPIVersion() -> Version constexpr
- Returns the highest Vulkan API version that Tephra will make use of.
- static auto getMinSupportedVulkanDeviceVersion() -> Version constexpr
- Returns the lowest version of the Vulkan device-level API that Tephra supports.
- static auto getMinSupportedVulkanInstanceVersion() -> Version constexpr
- Returns the lowest version of the Vulkan instance-level API that Tephra supports.
Constructors, destructors, conversion operators
- Version(uint32_t major, uint32_t minor, uint32_t patch) constexpr
- Version(uint32_t packedVersion) explicit constexpr
- Constructs a new tp::
Version object out of a packed version number used by Vulkan.
Public functions
Public variables
Function documentation
tp:: Version:: Version(uint32_t major,
uint32_t minor,
uint32_t patch) constexpr
Parameters | |
---|---|
major | The major version number. |
minor | The minor version number. |
patch | The patch version number. |