sdl3/sdl_openxr library

Functions

sdlCreateGpuxrSession(Pointer<SdlGpuDevice> device, Pointer<XrSessionCreateInfo> createinfo, Pointer<Uint64> session) → int openxr
Creates an OpenXR session.
sdlCreateGpuxrSwapchain(Pointer<SdlGpuDevice> device, int session, Pointer<XrSwapchainCreateInfo> createinfo, int format, Pointer<Uint64> swapchain, Pointer<Pointer<Pointer<SdlGpuTexture>>> textures) → int openxr
Creates an OpenXR swapchain.
sdlDestroyGpuxrSwapchain(Pointer<SdlGpuDevice> device, int swapchain, Pointer<Pointer<SdlGpuTexture>> swapchainImages) → int openxr
Destroys and OpenXR swapchain previously returned by SDL_CreateGPUXRSwapchain.
sdlGetGpuxrSwapchainFormats(Pointer<SdlGpuDevice> device, int session, Pointer<Int32> numFormats) → Pointer<Int32> openxr
Queries the GPU device for supported XR swapchain image formats.
sdlOpenXrGetXrGetInstanceProcAddr() → PfnXrGetInstanceProcAddr openxr
Get the address of the xrGetInstanceProcAddr function.
sdlOpenXrLoadLibrary() → bool openxr
Dynamically load the OpenXR loader.
sdlOpenXrUnloadLibrary() → void openxr
Unload the OpenXR loader previously loaded by SDL_OpenXR_LoadLibrary.