summaryrefslogtreecommitdiff
path: root/gfx/src/scene/model_impl.h
blob: a99d32c6b32072da1abf531c050d9e44a5cb1313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <gfx/scene/model.h>

#include "scene_memory.h"

/// Model.
typedef struct Model {
  node_idx root;
  node_idx parent; // Parent SceneNode.
} Model;

/// Create a new model.
Model* gfx_make_model(const SceneNode* root);

/// Destroy the model.
void gfx_del_model(Model**);