sdlOpenXrUnloadLibrary function openxr

void sdlOpenXrUnloadLibrary()

Unload the OpenXR loader previously loaded by SDL_OpenXR_LoadLibrary.

SDL keeps a reference count of the OpenXR loader, calling this function will decrement that count. Once the reference count reaches zero, the library is unloaded.

\threadsafety This function is not thread safe.

\since This function is available since SDL 3.6.0.

extern SDL_DECLSPEC void SDLCALL SDL_OpenXR_UnloadLibrary(void)

Implementation

void sdlOpenXrUnloadLibrary() {
  final sdlOpenXrUnloadLibraryLookupFunction = _libSdl
      .lookupFunction<Void Function(), void Function()>(
        'SDL_OpenXR_UnloadLibrary',
      );
  return sdlOpenXrUnloadLibraryLookupFunction();
}