summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-16 18:25:02 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-16 18:25:02 +0000
commit7e7ec10dea751540eda7898cf83f8471185aa063 (patch)
treef931c67a40318dc85faa48fa7655d6d29cd567e8 /libdimension/dimension
parent90564274757e489429daf8bcdb92009563fd2efd (diff)
downloaddimension-7e7ec10dea751540eda7898cf83f8471185aa063.tar.xz
Add support for default textures.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/scene.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h
index aa216f4..12ad6bd 100644
--- a/libdimension/dimension/scene.h
+++ b/libdimension/dimension/scene.h
@@ -33,10 +33,20 @@ typedef enum {
} dmnsn_quality;
typedef struct {
+ /* World attributes */
dmnsn_color background;
+ dmnsn_texture *default_texture;
+
+ /* Objects */
dmnsn_array *objects;
+
+ /* Camera */
dmnsn_camera *camera;
+
+ /* Canvas */
dmnsn_canvas *canvas;
+
+ /* Rendering quality */
dmnsn_quality quality;
} dmnsn_scene;