Function SDL_GetDisplayName
pub unsafe extern "C" fn SDL_GetDisplayName(
displayID: u32,
) -> *const i8
Available on crate feature
dep_sdl3
only.Expand description
Get the name of a display in UTF-8 encoding.
§Parameters
displayID
: the instance ID of the display to query.
§Return value
Returns the name of a display or NULL on failure; call SDL_GetError()
for
more information.
§Thread safety
This function should only be called on the main thread.
§Availability
This function is available since SDL 3.2.0.