diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-04-12 12:13:39 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2021-04-12 12:13:39 +0000 |
| commit | e08d4514f8fc489e698261a0dd3cc53f538e36fd (patch) | |
| tree | 24a79bb22f53c07f1e4108490311720d601b80e0 /src/xrvk.zig | |
| parent | multiple GLTF Models, EXT_MSFT_controller_model support (diff) | |
| download | openxPriments-main.tar.gz openxPriments-main.zip | |
wipmain
Diffstat (limited to 'src/xrvk.zig')
| -rw-r--r-- | src/xrvk.zig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xrvk.zig b/src/xrvk.zig index 64428bc..b2521d5 100644 --- a/src/xrvk.zig +++ b/src/xrvk.zig @@ -44,6 +44,7 @@ pub const xr = struct { usingnamespace rxr; pub const BaseDispatch = struct { + xrEnumerateInstanceExtensionProperties: PfnEnumerateInstanceExtensionProperties, xrCreateInstance: PfnCreateInstance, usingnamespace BaseWrapper(@This()); }; @@ -53,6 +54,15 @@ pub const xr = struct { xrGetSystem: PfnGetSystem, xrGetSystemProperties: PfnGetSystemProperties, xrStringToPath: PfnStringToPath, + xrCreateActionSet: PfnCreateActionSet, + xrCreateAction: PfnCreateAction, + xrCreateActionSpace: PfnCreateActionSpace, + xrSuggestInteractionProfileBindings: PfnSuggestInteractionProfileBindings, + xrSyncActions: PfnSyncActions, + xrAttachSessionActionSets: PfnAttachSessionActionSets, + xrGetActionStateFloat: PfnGetActionStateFloat, + xrGetActionStatePose: PfnGetActionStatePose, + xrGetActionStateBoolean: PfnGetActionStateBoolean, xrCreateSession: PfnCreateSession, xrDestroySession: PfnDestroySession, xrBeginSession: PfnBeginSession, @@ -62,6 +72,7 @@ pub const xr = struct { xrEndFrame: PfnEndFrame, xrPollEvent: PfnPollEvent, xrLocateViews: PfnLocateViews, + xrLocateSpace: PfnLocateSpace, xrCreateReferenceSpace: PfnCreateReferenceSpace, xrCreateVulkanInstanceKHR: PfnCreateVulkanInstanceKHR, xrGetVulkanGraphicsDevice2KHR: PfnGetVulkanGraphicsDevice2KHR, @@ -74,6 +85,10 @@ pub const xr = struct { xrAcquireSwapchainImage: PfnAcquireSwapchainImage, xrWaitSwapchainImage: PfnWaitSwapchainImage, xrReleaseSwapchainImage: PfnReleaseSwapchainImage, + usingnamespace InstanceWrapper(@This()); + }; + + pub const CMInstanceDispatch = struct { xrGetControllerModelKeyMSFT: PfnGetControllerModelKeyMSFT, xrLoadControllerModelMSFT: PfnLoadControllerModelMSFT, usingnamespace InstanceWrapper(@This()); |
