openxr-0.1: Bindings to the OpenXR API
Safe HaskellNone
LanguageHaskell2010

OpenXR.Version

Synopsis

Documentation

newtype Version 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

Constructors

Version 

Fields

Instances

Instances details
Eq Version Source # 
Instance details

Defined in OpenXR.Version

Methods

(==) :: Version -> Version -> Bool #

(/=) :: Version -> Version -> Bool #

Ord Version Source # 
Instance details

Defined in OpenXR.Version

Read Version Source # 
Instance details

Defined in OpenXR.Version

Show Version Source # 
Instance details

Defined in OpenXR.Version

Storable Version Source # 
Instance details

Defined in OpenXR.Version

Zero Version Source # 
Instance details

Defined in OpenXR.Version

Methods

zero :: Version #