Function SDL_GetDisplayName
pub unsafe extern "C" fn SDL_GetDisplayName(
displayIndex: i32,
) -> *const i8
Available on crate feature
dep_sdl2
only.Expand description
Get the name of a display in UTF-8 encoding.
\param displayIndex the index of display from which the name should be queried \returns the name of a display or NULL for an invalid display index or failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetNumVideoDisplays