summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/scene.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-12 21:17:20 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-12 21:17:20 +0000
commit597b9a13dae1f514ca8afa56bab008cb67d4ac40 (patch)
tree16d1f85568b839b7847aff9570d43940bee67f15 /libdimension/dimension/scene.h
parentbcf65bd050d9fbe364a60ab7ec0221539ca2c2af (diff)
downloaddimension-597b9a13dae1f514ca8afa56bab008cb67d4ac40.tar.xz
Add ability to set rendering quality.
Diffstat (limited to 'libdimension/dimension/scene.h')
-rw-r--r--libdimension/dimension/scene.h7
1 files changed, 7 insertions, 0 deletions
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 */