SDL_GetGPUDeviceDriver3
Returns the name of the backend used to create this gpu context.
Usage
#include "SDL3/SDL.h"
const char * SDL_GetGPUDeviceDriver(SDL_GPUDevice *device);
Header file
Defined in SDL3/SDL_gpu.h
Function parameters
- device
-
a GPU context to query.
Return value
Returns the name of the device's driver, or NULL on error.