render_scene(3alleg4) | Allegro manual | render_scene(3alleg4) |
render_scene - Renders all the queued scene polygons. Allegro game programming library.
#include <allegro.h>
void render_scene();
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().
create_scene(3alleg4), clear_scene(3alleg4), destroy_scene(3alleg4), scene_gap(3alleg4), scene_polygon3d(3alleg4), exscn3d(3alleg4)
version 4.4.2 | Allegro |