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

#include <gfx/scene/model.h>

#include "memory.h"

/// Model.
typedef struct Model {
  node_idx root;
} Model;

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

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