table of contents
- experimental 3.5~git20260404~173adc1+ds-1
| SDL_OpenXR_GetXrGetInstanceProcAddr(3) | SDL3 FUNCTIONS | SDL_OpenXR_GetXrGetInstanceProcAddr(3) |
NAME¶
SDL_OpenXR_GetXrGetInstanceProcAddr - Get the address of the xrGetInstanceProcAddr function.
SYNOPSIS¶
#include <SDL3/SDL_openxr.h>
PFN_xrGetInstanceProcAddr SDL_OpenXR_GetXrGetInstanceProcAddr(void);
DESCRIPTION¶
This should be called after either calling SDL_OpenXR_LoadLibrary() or creating an OpenXR SDL_GPUDevice.
The actual type of the returned function pointer is PFN_xrGetInstanceProcAddr, but that isn't always available. You should include the OpenXR headers before this header, or cast the return value of this function to the correct type.
RETURN VALUE¶
Returns the function pointer for xrGetInstanceProcAddr or NULL on failure; call SDL_GetError() for more information.
AVAILABILITY¶
This function is available since SDL 3.6.0.
| SDL 3.5.0 | Simple Directmedia Layer |