summaryrefslogtreecommitdiff
path: root/src/scene.c
blob: 26e19dc8ca9f0f14038b55884f7491d4bd2ead8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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?