SDL_GetGPUDriver(3)
π NAME π
okay so bestie, welcome to SDL_GetGPUDriver(3) β it lives in SDL3 FUNCTIONS, and it gets the name of a built in GPU driver. no cap. β¨
π SYNOPSIS π
#include <SDL3/SDL_gpu.h>
const char * SDL_GetGPUDriver(int index);
πΈ DESCRIPTION πΈ
The GPU drivers are presented in the order in which they are normally checked during initialization. like, the lineup is not randomized, it is exactly the order the system would normally peek at them. π
The names of drivers are all simple, low-ASCII identifiers, like "vulkan", "metal" or "direct3d12". These never have Unicode characters, and are not meant to be proper names. so don't expect them to have full legal names, they're just technical little tags. π¦
π FUNCTION PARAMETERS π
indexβ the index of a GPU driver. that's the whole parameter, periodt. π«Ά
β RETURN VALUE β
Returns the name of the GPU driver with the given index. slay. π
π AVAILABILITY π
This function is available since SDL 3.2.0. iconic. π₯
π SEE ALSO π
mwah π this page was served to you by Simple Directmedia Layer, version SDL 3.4.18, and the manual page SDL_GetGPUDriver(3). no date in the footer, bestie β just source, version, and vibes. stay hydrated and go call your GPU driver by its low-ASCII name. πβ¨
π¦ 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