(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_RenderClipEnabled

Get whether clipping is enabled on the given renderer.

Header File

Defined in <SDL3/SDL_render.h>

Syntax

SDL_bool SDL_RenderClipEnabled(SDL_Renderer *renderer);

Function Parameters

renderer the rendering context

Return Value

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

Version

This function is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryRender