setHint

Wraps SDL_SetHintWithPriority which provides giving a hint to SDL2 in runtime

@safe @trusted
bool
setHint

Parameters

name string

name of the hint

value string

value to set the hint as

priority HintPriority

priority of the hint configuration (by default, dsdl2.HintPriority.normal)

Return Value

Type: bool

true if the hint was set, false otherwise

Meta