---
name: "SDL_HINT_OPENVR_LIBRARY"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_OPENVR_LIBRARY"
---

# SDL\_HINT\_OPENVR\_LIBRARY(3)

Mechanism to specify openvr\_api library location

## NAME

SDL\_HINT\_OPENVR\_LIBRARY - Mechanism to specify openvr\_api library location

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_OPENVR\_LIBRARY**              *SDL\_OPENVR\_LIBRARY"*

## DESCRIPTION

By default, when using the OpenVR driver, it will search for the API library in the current folder. But, if you wish to use a system API you can specify that by using this hint. This should be the full or relative path to a .dll on Windows or .so on Linux.

## AVAILABILITY

This hint is available since SDL 3.2.0.
