SDL_GetRenderClipRect

Get the clip rectangle for the current target.

extern (C) nothrow @nogc extern
bool
SDL_GetRenderClipRect

Parameters

renderer SDL_Renderer*

The rendering context.

rect SDL_Rect*

An SDL_Rect structure filled in with the current clipping area or an empty rectangle if clipping is disabled.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta