Function sdl2_sys::SDL_GetRenderDriverInfo
source ยท pub unsafe extern "C" fn SDL_GetRenderDriverInfo(
index: c_int,
info: *mut SDL_RendererInfo,
) -> c_int
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