DrawContextExtensions.UseBlendMode(this IDrawContext, BlendMode) Method
Definition
Namespace: Brine2D.Rendering
Sets the blend mode and returns a scope that restores the previous mode on dispose.
C#
public static Brine2D.Rendering.BlendModeScope UseBlendMode(this Brine2D.Rendering.IDrawContext context, Brine2D.Rendering.BlendMode blendMode);
Parameters
context IDrawContext
blendMode BlendMode