Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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