Function SDL_GetGPUDeviceDriver
Source pub unsafe extern "C" fn SDL_GetGPUDeviceDriver(
device: *mut SDL_GPUDevice,
) -> *const c_char
Expand description
Returns the name of the backend used to create this GPU context.
§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.