RendererExtensions.PushIntersectedScissorRect(this IRenderer, Rectangle) Method
Definition
Namespace: Brine2D.Rendering
Intersect the current scissor rect with a new rect \(nested clipping\).
C#
public static void PushIntersectedScissorRect(this Brine2D.Rendering.IRenderer renderer, Brine2D.Core.Rectangle rect);
Parameters
renderer IRenderer
rect Rectangle
Remarks
This is useful for nested UI elements where child clipping should be constrained by parent clipping regions.