From 597b9a13dae1f514ca8afa56bab008cb67d4ac40 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 12 Jul 2009 21:17:20 +0000 Subject: Add ability to set rendering quality. --- libdimension/dimension/scene.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libdimension/dimension') diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index e76aef3..8104917 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -25,11 +25,18 @@ #ifndef DIMENSION_SCENE_H #define DIMENSION_SCENE_H +typedef enum { + DMNSN_RENDER_NONE, + DMNSN_RENDER_OBJECTS, + DMNSN_RENDER_FULL +} dmnsn_quality; + typedef struct { dmnsn_color background; dmnsn_array *objects; dmnsn_camera *camera; dmnsn_canvas *canvas; + dmnsn_quality quality; } dmnsn_scene; /* Create a scene, initializing only the ->objects field */ -- cgit v1.2.3