DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetHintBoolean.3.en
SDL_GetHintBoolean(3) SDL3 FUNCTIONS SDL_GetHintBoolean(3)

SDL_GetHintBoolean - Get the boolean value of a hint variable.

Defined in SDL3/SDL_hints.h

#include "SDL3/SDL.h"
bool SDL_GetHintBoolean(const char *name, bool default_value);

the name of the hint to get the boolean value from.
the value to return if the hint does not exist.

Returns the boolean value of a hint or the provided default value if the hint does not exist.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_GetHint(3), (3), SDL_SetHint(3)

SDL 3.2.10 Simple Directmedia Layer