Function SDL_RenderClipEnabled

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

Get whether clipping is enabled on the given renderer.

§Parameters

  • renderer: the rendering context.

§Return value

Returns true if clipping is enabled or false if not; call SDL_GetError() for more information.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.

§See also