---
name: "clear_scene"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/clear_scene"
---

# clear\_scene(3alleg)

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**(3alleg)](/create_scene/3alleg.md), [**scene\_polygon3d**(3alleg)](/scene_polygon3d/3alleg.md), [**render\_scene**(3alleg)](/render_scene/3alleg.md), [**destroy\_scene**(3alleg)](/destroy_scene/3alleg.md), [**scene\_gap**(3alleg)](/scene_gap/3alleg.md), [**exscn3d**(3alleg)](/exscn3d/3alleg.md)
