Function SDL_SetHintWithPriority
pub unsafe extern "C" fn SDL_SetHintWithPriority(
name: *const i8,
value: *const i8,
priority: SDL_HintPriority,
) -> SDL_bool
Available on crate feature
dep_sdl2
only.Expand description
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.
\param name the hint to set \param value the value of the hint variable \param priority the SDL_HintPriority level for the hint \returns SDL_TRUE if the hint was set, SDL_FALSE otherwise.
\since This function is available since SDL 2.0.0.
\sa SDL_GetHint \sa SDL_SetHint