Function SDL_GetRendererName

pub unsafe extern "C" fn SDL_GetRendererName(
    renderer: *mut SDL_Renderer,
) -> *const i8
Available on crate feature dep_sdl3 only.
Expand description

Get the name of a renderer.

§Parameters

  • renderer: the rendering context.

§Return value

Returns the name of the selected renderer, or NULL on failure; 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.2.0.

§See also