---
name: "render_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/render_scene"
---

# render\_scene(3alleg)

Renders all the queued scene polygons. Allegro game programming library.

## NAME

render\_scene - Renders all the queued scene polygons. Allegro game programming library.

## SYNOPSIS

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

**void render\_scene();**

## DESCRIPTION

Renders all the specified scene\_polygon3d()'s on the bitmap passed to clear\_scene(). Rendering is done one scanline at a time, with no pixel being processed more than once.

Note that between clear\_scene() and render\_scene() you shouldn't change the clip rectangle of the destination bitmap. For speed reasons, you should set the clip rectangle to the minimum.

Note also that all the textures passed to scene\_polygon3d() are stored as pointers only and actually used in render\_scene().

## SEE ALSO

[**create\_scene**(3alleg)](/create_scene/3alleg.md), [**clear\_scene**(3alleg)](/clear_scene/3alleg.md), [**destroy\_scene**(3alleg)](/destroy_scene/3alleg.md), [**scene\_gap**(3alleg)](/scene_gap/3alleg.md), [**scene\_polygon3d**(3alleg)](/scene_polygon3d/3alleg.md), [**exscn3d**(3alleg)](/exscn3d/3alleg.md)
