| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
OpenXR.Version
Synopsis
- pattern CURRENT_API_VERSION :: Version
- pattern MAKE_VERSION :: Word16 -> Word16 -> Word32 -> Version
- _VERSION_MAJOR :: Version -> Word16
- _VERSION_MINOR :: Version -> Word16
- _VERSION_PATCH :: Version -> Word32
- newtype Version = Version {}
Documentation
pattern CURRENT_API_VERSION :: Version Source #
_VERSION_MAJOR :: Version -> Word16 Source #
_VERSION_MINOR :: Version -> Word16 Source #
_VERSION_PATCH :: Version -> Word32 Source #
XrVersion - Type indicating multi-part version packed into 64-bit integer
Description
In each such use, the API major version number, minor version number, and patch version number are packed into a 64-bit integer, referred to as https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XrVersion, as follows:
Version Numbers
- The major version number is a 16-bit integer packed into bits 63-48.
- The minor version number is a 16-bit integer packed into bits 47-32.
- The patch version number is a 32-bit integer packed into bits 31-0.
See Also
ApiLayerProperties,
ApplicationInfo,
GraphicsRequirementsOpenGLESKHR,
GraphicsRequirementsOpenGLKHR,
GraphicsRequirementsVulkanKHR,
InstanceProperties
Instances
| Eq Version Source # | |
| Ord Version Source # | |
| Read Version Source # | |
| Show Version Source # | |
| Storable Version Source # | |
| Zero Version Source # | |
Defined in OpenXR.Version | |