SDL_GetHintBoolean - Man Page
Get the boolean value of a hint variable.
Header File
Defined in SDL3/SDL_hints.h
Synopsis
#include "SDL3/SDL.h" bool SDL_GetHintBoolean(const char *name, bool default_value);
Function Parameters
- name
the name of the hint to get the boolean value from.
- default_value
the value to return if the hint does not exist.
Return Value
Returns the boolean value of a hint or the provided default value if the hint does not exist.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_GetHint(3), ·(3), SDL_SetHint(3)
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS