Represents a version number.
More...
#include <specification.h>
|
| uint8_t | major |
| | major version number.
|
| |
| uint8_t | minor |
| | minor version number.
|
| |
| uint8_t | patch |
| | patch version number.
|
| |
Represents a version number.
◆ operator!=()
| bool pixelbullet::ApplicationVersion::operator!= |
( |
const ApplicationVersion & | other | ) |
const |
|
inline |
Compares two ApplicationVersion instances for inequality.
- Parameters
-
- Returns
- True if the versions are not equal; otherwise, false.
◆ operator==()
| bool pixelbullet::ApplicationVersion::operator== |
( |
const ApplicationVersion & | other | ) |
const |
|
inline |
Compares two ApplicationVersion instances for equality.
- Parameters
-
- Returns
- True if both versions are equal; otherwise, false.
◆ ToString()
| std::string pixelbullet::ApplicationVersion::ToString |
( |
| ) |
const |
|
inline |
Converts the version to a string representation.
- Returns
- A string in the format "major.minor.patch".
◆ ToVulkanVersion()
| uint32_t pixelbullet::ApplicationVersion::ToVulkanVersion |
( |
| ) |
const |
Returns the Vulkan-compatible version integer.
- Returns
- Vulkan version using VK_MAKE_VERSION (isolated in the source).
◆ major
| uint8_t pixelbullet::ApplicationVersion::major |
◆ minor
| uint8_t pixelbullet::ApplicationVersion::minor |
◆ patch
| uint8_t pixelbullet::ApplicationVersion::patch |
The documentation for this struct was generated from the following files:
- engine/include/pixelbullet/application/specification.h
- engine/src/application/specification.cc