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