SDL_GetDisplayName - Get the name of a display in UTF-8 encoding.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
displayID
the instance ID of the display to query.
Name
SDL_GetDisplayName - Get the name of a display in UTF-8 encoding.
Return Value
for more information.
See Also
SDL_GetDisplays(3) Simple Directmedia Layer SDL 3.2.20 SDL_GetDisplayName(3)
Synopsis
#include<SDL3/SDL_video.h>constchar*SDL_GetDisplayName(SDL_DisplayIDdisplayID);
Thread Safety
This function should only be called on the main thread.
