Header menu logo Mibo.Raylib

Renderer2DConfig Type

Configuration for the Renderer2D.

Record fields

Record Field Description

ClearColor

Full Usage: ClearColor

Field type: Color voption

Background clear color applied before rendering commands. ValueOption skips clearing entirely, which is useful when composing multiple renderers (e.g., 2D overlay on 3D scene). ValueOption clears with the specified color.

Field type: Color voption

PostProcess

Full Usage: PostProcess

Field type: PostProcessPass[] voption

Optional post-processing passes. Applied in order after the scene is rendered to a render texture, chaining via pooled render textures between passes. The last pass renders directly to the backbuffer.

Field type: PostProcessPass[] voption

Type something to start searching.