getDriver method

String? getDriver()

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

\param device a GPU context to query. \returns the name of the device's driver, or NULL on error.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC const char * SDLCALL SDL_GetGPUDeviceDriver(SDL_GPUDevice *device)

Implementation

String? getDriver() => sdlGetGpuDeviceDriver(this);