diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-12 21:17:20 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-12 21:17:20 +0000 |
commit | 597b9a13dae1f514ca8afa56bab008cb67d4ac40 (patch) | |
tree | 16d1f85568b839b7847aff9570d43940bee67f15 /libdimension/dimension | |
parent | bcf65bd050d9fbe364a60ab7ec0221539ca2c2af (diff) | |
download | dimension-597b9a13dae1f514ca8afa56bab008cb67d4ac40.tar.xz |
Add ability to set rendering quality.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/scene.h | 7 |
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 */ |