SDL_GetGPUDeviceDriver - Man Page

Returns the name of the backend used to create this GPU context.

Synopsis

#include <SDL3/SDL_gpu.h>

const char * SDL_GetGPUDeviceDriver(SDL_GPUDevice *device);

Function Parameters

device

a GPU context to query.

Return Value

Returns the name of the device's driver, or NULL on error.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.4.18 Simple Directmedia Layer SDL3 FUNCTIONS