SDL_GetNumGPUDrivers - Man Page

Get the number of GPU drivers compiled into SDL.

Header File

Defined in SDL3/SDL_gpu.h

Synopsis

#include "SDL3/SDL.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

·(3), SDL_GetGPUDriver(3)

Referenced By

SDL_GetGPUDriver(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS