Renderer2D Module
Convenience constructors for Renderer2D.
Functions and values
| Function or value |
Description
|
Full Usage:
create view
Parameters:
GameContext -> 'Model -> RenderBuffer2D -> unit
-
The view function that populates the render buffer each frame.
Receives the game context, current model, and a mutable buffer.
Returns: IRenderer<'Model>
|
Creates a renderer with default configuration (no post-processing, black clear color).
|
Full Usage:
createWith config view
Parameters:
Renderer2DConfig
-
The renderer configuration.
view : GameContext -> 'Model -> RenderBuffer2D -> unit
-
The view function that populates the render buffer each frame.
Receives the game context, current model, and a mutable buffer.
Returns: IRenderer<'Model>
|
Creates a renderer with custom configuration.
|
Mibo.Raylib