SDL_GetDisplayName

Get the name of a display in UTF-8 encoding.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetDisplayName

Parameters

displayID SDL_DisplayID

the instance ID of the display to query.

Return Value

Type: const(char)*

the name of a display or NULL on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta