logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                          SDL_GetGPUDeviceDriver(3)

Function Parameters

device a GPU context to query.

Name

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

Return Value

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

Synopsis

#include<SDL3/SDL_gpu.h>constchar*SDL_GetGPUDeviceDriver(SDL_GPUDevice*device);

See Also