Skip to contents

Set background color (framebuffer clear color).

Usage

clear_background(color = "white")

Arguments

color

A color.

Note

This function has been auto-generated from the following Raylib function definition:

void ClearBackground(Color color);

Examples

if (FALSE) {
clear_background("red")
}