table of contents
other versions
- unstable 3.1.8+ds-1
SDL_GetNumVideoDrivers(3) | SDL3 FUNCTIONS | SDL_GetNumVideoDrivers(3) |
NAME¶
SDL_GetNumVideoDrivers - Get the number of video drivers compiled into SDL.
HEADER FILE¶
Defined in SDL3/SDL_video.h
SYNOPSIS¶
#include "SDL3/SDL.h"
int SDL_GetNumVideoDrivers(void);
RETURN VALUE¶
Returns the number of built in video drivers.
THREAD SAFETY¶
This function should only be called on the main thread.
AVAILABILITY¶
This function is available since SDL 3.1.3.
SEE ALSO¶
•(3), SDL_GetVideoDriver(3)
SDL 3.1.8 | Simple Directmedia Layer |