summaryrefslogtreecommitdiff
path: root/src/scene.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene.c')
-rw-r--r--src/scene.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/scene.c b/src/scene.c
new file mode 100644
index 0000000..26e19dc
--- /dev/null
+++ b/src/scene.c
@@ -0,0 +1,26 @@
+/**
+ * @file scene.c
+ * @author your name (you@domain.com)
+ * @brief
+ * @version 0.1
+ * @date 2024-10-18
+ *
+ * @copyright Copyright (c) 2024
+ *
+ */
+#include <celeritas.h>
+
+// Retained mode scene tree that handles performant transform propagation, and allows systems, or other languages via
+// bindings, to manipulate rendering/scene data without *owning* said data.
+
+typedef struct scene_tree_node {
+ const char* label;
+} scene_tree_node;
+
+DEFINE_HANDLE(scene_node_handle);
+TYPED_POOL(scene_tree_node, scene_node);
+
+typedef struct render_scene_tree {
+} render_scene_tree;
+
+// What kind of operations and mutations can we perform on the tree?