pub unsafe extern "C" fn SDL_GetGPURendererDevice(
renderer: *mut SDL_Renderer,
) -> *mut SDL_GPUDeviceExpand description
Return the GPU device used by a renderer.
§Parameters
renderer: the rendering context.
§Return value
Returns the GPU device used by the renderer, or NULL if the renderer is
not a GPU renderer; call SDL_GetError() for more information.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.4.0.