diff options
Diffstat (limited to 'src/asset/model.h')
-rw-r--r-- | src/asset/model.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/asset/model.h b/src/asset/model.h new file mode 100644 index 0000000..d6399b1 --- /dev/null +++ b/src/asset/model.h | |||
@@ -0,0 +1,12 @@ | |||
1 | /// Load scene files. | ||
2 | #pragma once | ||
3 | |||
4 | #include <gfx/asset.h> | ||
5 | |||
6 | typedef struct Gfx Gfx; | ||
7 | typedef struct Model Model; | ||
8 | |||
9 | /// Load a model. | ||
10 | /// | ||
11 | /// Currently only supports the GLTF format. | ||
12 | Model* gfx_model_load(Gfx*, const LoadModelCmd*); | ||