diff options
author | 3gg <3gg@shellblade.net> | 2025-06-27 10:18:39 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-06-27 10:18:39 -0700 |
commit | bd57f345ed9dbed1d81683e48199626de2ea9044 (patch) | |
tree | 4221f2f2a7ad2244d2e93052bd68187ec91b8ea9 /src/asset/model.h | |
parent | 9a82ce0083437a4f9f58108b2c23b957d2249ad8 (diff) |
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*); | ||