---
name: "clear_scene"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/clear_scene/3alleg4"
---

# clear\_scene(3alleg4)

Initializes a scene. Allegro game programming library.

## NAME

clear\_scene - Initializes a scene. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void clear\_scene(BITMAP \*bmp);**

## DESCRIPTION

Initializes a scene. The bitmap is the bitmap you will eventually render on.

## SEE ALSO

**create\_scene**(3alleg4), **scene\_polygon3d**(3alleg4), **render\_scene**(3alleg4), **destroy\_scene**(3alleg4), **scene\_gap**(3alleg4), **exscn3d**(3alleg4)
