ScissorRectHelper Class
Definition
Namespace: Brine2D.Rendering
Shared scissor rectangle intersection logic used by both HeadlessRenderer and SDL3StateManager.
Inheritance System.Object → ScissorRectHelper
| Methods | |
|---|---|
| Intersect\(Nullable<Rectangle>, Nullable<Rectangle>\) | Computes the effective scissor rectangle when pushing a new rect onto an existing one. Returns the intersection of current and incoming, or a zero-area rectangle when the two do not overlap. |