SDL_SetHintWithPriority

Set a hint with a specific priority.

The priority controls the behavior when setting a hint that already has a value. Hints will replace existing hints of their priority and lower. Environment variables are considered to have override priority.

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

Parameters

name const(char)*

The hint to set.

value const(char)*

The value of the hint variable.

priority SDL_HintPriority

The SDL_HintPriority level for the hint.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

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

See Also

Meta