SDL_GetHintBoolean

Get the boolean value of a hint variable.

extern (C) nothrow @nogc extern
bool
SDL_GetHintBoolean
(
const(char)* name
,)

Parameters

name const(char)*

The name of the hint to get the boolean value from.

default_value bool

The value to return if the hint does not exist.

Return Value

Type: bool

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

Threadsafety: It is safe to call this function from any thread.

See Also

Meta