Module: OpenXR::ABI

Included in:
API, API
Defined in:
lib/openxr/abi.rb

Overview

The OpenXR application binary interface (ABI).

Defined Under Namespace

Classes: XrAction, XrActionCreateInfo, XrActionSet, XrActionSetCreateInfo, XrActionSpaceCreateInfo, XrActionStateBoolean, XrActionStateFloat, XrActionStateGetInfo, XrActionStatePose, XrActionStateVector2f, XrActionSuggestedBinding, XrActionsSyncInfo, XrActiveActionSet, XrApiLayerProperties, XrApplicationInfo, XrBaseStructure, XrBoundSourcesForActionEnumerateInfo, XrColor4f, XrCompositionLayerBaseHeader, XrCompositionLayerCubeKHR, XrCompositionLayerCylinderKHR, XrCompositionLayerDepthInfoKHR, XrCompositionLayerEquirectKHR, XrCompositionLayerProjection, XrCompositionLayerProjectionView, XrCompositionLayerQuad, XrDebugUtilsLabelEXT, XrDebugUtilsMessengerCallbackDataEXT, XrDebugUtilsMessengerCreateInfoEXT, XrDebugUtilsObjectNameInfoEXT, XrEventDataBaseHeader, XrEventDataBuffer, XrEventDataEventsLost, XrEventDataInstanceLossPending, XrEventDataInteractionProfileChanged, XrEventDataMainSessionVisibilityChangedEXTX, XrEventDataPerfSettingsEXT, XrEventDataReferenceSpaceChangePending, XrEventDataSessionStateChanged, XrEventDataVisibilityMaskChangedKHR, XrExtensionProperties, XrExtent2Df, XrExtent2Di, XrEyeGazeSampleTimeEXT, XrFovf, XrFrameBeginInfo, XrFrameEndInfo, XrFrameState, XrFrameWaitInfo, XrHapticActionInfo, XrHapticBaseHeader, XrHapticVibration, XrInputSourceLocalizedNameGetInfo, XrInstance, XrInstanceCreateInfo, XrInstanceProperties, XrInteractionProfileState, XrInteractionProfileSuggestedBinding, XrOffset2Df, XrOffset2Di, XrPosef, XrQuaternionf, XrRect2Df, XrRect2Di, XrReferenceSpaceCreateInfo, XrSession, XrSessionActionSetsAttachInfo, XrSessionBeginInfo, XrSessionCreateInfo, XrSessionCreateInfoOverlayEXTX, XrSpace, XrSpaceLocation, XrSpaceVelocity, XrSpatialAnchorCreateInfoMSFT, XrSpatialAnchorSpaceCreateInfoMSFT, XrSwapchain, XrSwapchainCreateInfo, XrSwapchainImageAcquireInfo, XrSwapchainImageBaseHeader, XrSwapchainImageReleaseInfo, XrSwapchainImageWaitInfo, XrSwapchainSubImage, XrSystemEyeGazeInteractionPropertiesEXT, XrSystemGetInfo, XrSystemGraphicsProperties, XrSystemProperties, XrSystemTrackingProperties, XrVector2f, XrVector3f, XrVector4f, XrView, XrViewConfigurationDepthRangeEXT, XrViewConfigurationProperties, XrViewConfigurationView, XrViewConfigurationViewFovEPIC, XrViewLocateInfo, XrViewState, XrVisibilityMaskKHR

Constant Summary collapse

XR_CURRENT_API_VERSION =
XR_MAKE_VERSION(1, 0, 8)
XrVersion =
:uint64
XrFlags64 =
:uint64
XrSystemId =
:uint64
XrBool32 =
:uint32
XrPath =
:uint64
XrTime =
:int64
XrDuration =
:int64
XR_TRUE =
1
XR_FALSE =
0
XR_MAX_EXTENSION_NAME_SIZE =
128
XR_MAX_API_LAYER_NAME_SIZE =
256
XR_MAX_API_LAYER_DESCRIPTION_SIZE =
256
XR_MAX_SYSTEM_NAME_SIZE =
256
XR_MAX_APPLICATION_NAME_SIZE =
128
XR_MAX_ENGINE_NAME_SIZE =
128
XR_MAX_RUNTIME_NAME_SIZE =
128
XR_MAX_PATH_LENGTH =
256
XR_MAX_STRUCTURE_NAME_SIZE =
64
XR_MAX_RESULT_STRING_SIZE =
64
XR_MIN_COMPOSITION_LAYERS_SUPPORTED =
16
XR_MAX_ACTION_SET_NAME_SIZE =
64
XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE =
128
XR_MAX_ACTION_NAME_SIZE =
64
XR_MAX_LOCALIZED_ACTION_NAME_SIZE =
128
XrResult =

enum

:int
XR_SUCCESS =
0
XR_ERROR_VALIDATION_FAILURE =
-1
XR_ERROR_RUNTIME_FAILURE =
-2
XR_ERROR_HANDLE_INVALID =
-12
XrStructureType =

enum

:int
XR_TYPE_UNKNOWN =
0
XR_TYPE_API_LAYER_PROPERTIES =
1
XR_TYPE_EXTENSION_PROPERTIES =
2
XR_TYPE_INSTANCE_CREATE_INFO =
3
XR_TYPE_SYSTEM_GET_INFO =
4
XR_TYPE_SYSTEM_PROPERTIES =
5
XR_TYPE_VIEW_LOCATE_INFO =
6
XR_TYPE_VIEW =
7
XR_TYPE_SESSION_CREATE_INFO =
8
XrFormFactor =

enum

:int
XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY =
1
XR_FORM_FACTOR_HANDHELD_DISPLAY =
2
XR_FORM_FACTOR_MAX_ENUM =
0x7FFFFFFF
XrInstanceCreateFlags =
XrFlags64
XrSessionCreateFlags =
XrFlags64
XrBaseInStructure =
XrBaseStructure
XrBaseOutStructure =
XrBaseStructure

Class Method Summary collapse

Class Method Details

.XR_MAKE_VERSION(major, minor, patch) ⇒ Object



10
11
12
# File 'lib/openxr/abi.rb', line 10

def self.XR_MAKE_VERSION(major, minor, patch)
  (((major.to_i & 0xffff) << 48) + ((minor.to_i & 0xffff) << 32) + (patch.to_i & 0xffffffff))
end