SDL_GetNumGPUDrivers(3)
β¨ SDL_GetNumGPUDrivers β¨
okay bestie, this one is from the SDL3 FUNCTIONS manual and it is literally the chillest little function ever π
πΈ NAME πΈ
SDL_GetNumGPUDrivers β get the number of GPU drivers compiled into SDL. no cap, that's the whole job π«Ά
π¦ SYNOPSIS π¦
#include <SDL3/SDL_gpu.h>
int SDL_GetNumGPUDrivers(void);
π RETURN VALUE π
Returns the number of built in GPU drivers. that's it. that's the tea. β¨
π AVAILABILITY π
This function is available since SDL 3.2.0. so if you're on something older, bestie, it's not gonna be there π
π SEE ALSO π
SDL_GetGPUDriver(3)β go look at this one too, iykyk π₯
source: Simple Directmedia Layer Β· version: SDL 3.4.18 Β· date: not listed in the original footer
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms