Function SDL_GetRenderDriverInfo
pub unsafe extern "C" fn SDL_GetRenderDriverInfo(
index: i32,
info: *mut SDL_RendererInfo,
) -> i32
Available on crate feature
dep_sdl2
only.Expand description
Get info about a specific 2D rendering driver for the current display.
\param index the index of the driver to query information about \param info an SDL_RendererInfo structure to be filled with information on the rendering driver \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_CreateRenderer \sa SDL_GetNumRenderDrivers