Header menu logo Mibo

Mibo.Elmish.Graphics2D Namespace

Type/Module Description

BlendMode

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.

Command2D (Module)

Factory functions that create Command2D values.

Command2D (Module)

Factory functions that create Command2D values.

Command2D (Type)

Closed set of 2D render commands. Stored in RenderBuffer2D and dispatched via pattern matching — no interface boxing.

Command2D (Type)

Closed set of 2D render commands. Stored in RenderBuffer2D and dispatched via pattern matching — no interface boxing.

Draw (Module)

Pipe-friendly drawing DSL. Each function takes a RenderBuffer2D as its last argument, adds the corresponding command, and returns the buffer for chaining.

Draw (Module)

Pipe-friendly drawing DSL. Each function takes a RenderBuffer2D as its last argument, adds the corresponding command, and returns the buffer for chaining.

IRenderTargetPool (Type)

Provides pooled render targets to avoid per-frame allocation and disposal of RenderTarget2D resources.

IRenderTargetPool (Type)

Provides pooled render textures to avoid per-frame allocation and disposal of RenderTexture2D resources.

PostProcessContext2D (Type)

Context handed to a PostProcess action each frame. The renderer has already rendered the scene to Source and set the destination render target (a pooled ping-pong RT, or the back-buffer for the last pass). The action binds its own effect, sets model-derived parameters, binds Source to the effect's sampler, and calls Quad.Draw(effect).

PostProcessContext2D (Type)

Context handed to a Command2D.PostProcess action each frame. The renderer has already rendered the scene to Source and entered the destination render target (a pooled ping-pong RT, or the back-buffer for the last pass). The action resolves its own shader, sets model-derived params, and draws a fullscreen quad of Source.

PrimitiveBatch

Batch renderer for 2D primitive shapes using vertex arrays and GraphicsDevice.DrawUserPrimitives.

RenderBuffer2D (Type)

An allocation-free buffer for 2D render commands, sorted by layer.

RenderBuffer2D (Type)

An allocation-free buffer for 2D render commands, sorted by layer.

Renderer2D (Module)

Convenience constructors for Renderer2D

Renderer2D (Module)

Convenience constructors for Renderer2D.

Renderer2D<'Model> (Type)

A deferred 2D renderer that sorts commands by layer and executes them via pattern matching on Command2D.

Renderer2D<'Model> (Type)

A deferred 2D renderer that sorts commands by layer and executes them via pattern matching on Command2D.

Renderer2DConfig (Module)

Convenience values and functions for Renderer2DConfig

Renderer2DConfig (Module)

Convenience values and functions for Renderer2DConfig.

Renderer2DConfig (Type)

Configuration for the Renderer2D

Renderer2DConfig (Type)

Configuration for the Renderer2D.

RenderLayer

Unit of measure for 2D render layer ordering.

RenderTargetPool (Type)

Default implementation of IRenderTargetPool using a dictionary keyed by (width, height) dimensions. Stores targets in per-dimension queues for FIFO reuse.

RenderTargetPool (Type)

Default implementation of IRenderTargetPool using a dictionary keyed by (width, height) dimensions. Stores textures in per-dimension queues for FIFO reuse.

ShaderLoader

Loads compiled MonoGame effect (.mgfx) files from embedded resources.

SpriteState (Module)

Convenience builders for SpriteState.

SpriteState (Module)

Convenience builders for SpriteState.

SpriteState (Type)

State required to render a 2D sprite via SpriteBatch.Draw.

SpriteState (Type)

State required to render a 2D sprite via DrawTexturePro.

TextState (Module)

Convenience builders for TextState.

TextState (Module)

Convenience builders for TextState.

TextState (Type)

State required to render 2D text via SpriteBatch.DrawString.

Type something to start searching.