DrawContextExtensions Class
Definition
Namespace: Brine2D.Rendering
Scoped helpers for IDrawContext state that auto-restore on dispose.
Inheritance System.Object → DrawContextExtensions
| Methods | |
|---|---|
| UseBlendMode\(this IDrawContext, BlendMode\) | Sets the blend mode and returns a scope that restores the previous mode on dispose. |
| UseRenderLayer\(this IDrawContext, byte\) | Sets the render layer and returns a scope that restores the previous layer on dispose. |