getHintBool

Wraps SDL_GetHintBoolean (from SDL 2.0.5) which gets the value of a specified user-set hint as a bool

@safe @trusted
static if(sdlSupport >= SDLSupport.v2_0_5)
bool
getHintBool
(
string name
,
bool defaultValue = false
)

Parameters

name string

name of the hint

defaultValue bool

default returned value if the hint wasn't set

Return Value

Type: bool

bool value of the given name of the hint or defaultValue if the hint wasn't set

Meta