Scroll to navigation

SDL_GetNumGPUDrivers(3) SDL3 FUNCTIONS SDL_GetNumGPUDrivers(3)

NAME

SDL_GetNumGPUDrivers - Get the number of GPU drivers compiled into SDL.

SYNOPSIS

#include <SDL3/SDL_gpu.h>
int SDL_GetNumGPUDrivers(void);

RETURN VALUE

Returns the number of built in GPU drivers.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

SDL_GetGPUDriver(3)

SDL 3.2.14 Simple Directmedia Layer