Header menu logo Mibo

BlendMode Type

Closed set of 2D render commands. Stored in RenderBuffer2D and dispatched via pattern matching — no interface boxing. MonoGame-native blend-mode abstraction. Maps to BlendState.

Each case carries a layer: int<RenderLayer> for stable layer sorting. This is the MonoGame backend's equivalent of the raylib Command2D DU, using MonoGame types (Texture2D, SpriteFont, Rectangle, etc.).

Union cases

Union case Description

Additive

Full Usage: Additive

AlphaBlend

Full Usage: AlphaBlend

NonPremultiplied

Full Usage: NonPremultiplied

Opaque

Full Usage: Opaque

Instance members

Instance member Description

this.IsAdditive

Full Usage: this.IsAdditive

Returns: bool
Returns: bool

this.IsAlphaBlend

Full Usage: this.IsAlphaBlend

Returns: bool
Returns: bool

this.IsNonPremultiplied

Full Usage: this.IsNonPremultiplied

Returns: bool
Returns: bool

this.IsOpaque

Full Usage: this.IsOpaque

Returns: bool
Returns: bool

Type something to start searching.