Header menu logo Mibo.Raylib

GameConfig Type

Configuration for game window and framerate settings.

Config callbacks return a new GameConfig with desired changes applied. Use Program.withConfig to register callbacks.

Record fields

Record Field Description

Height

Full Usage: Height

Field type: int

Window height in pixels. Default: 600.

Field type: int

TargetFPS

Full Usage: TargetFPS

Field type: int

Target frames per second. 0 = unlimited.

Field type: int

Title

Full Usage: Title

Field type: string

Window title.

Field type: string

Width

Full Usage: Width

Field type: int

Window width in pixels. Default: 800.

Field type: int

Type something to start searching.