summaryrefslogtreecommitdiff
path: root/include/gltf_loader.h
diff options
context:
space:
mode:
authorChuyan Zhang <chuyan@ucsb.edu>2024-10-10 18:51:05 -0700
committerChuyan Zhang <chuyan@ucsb.edu>2024-10-10 18:51:05 -0700
commit6271f5ce797bf12be64c710b66b1b9e93a239829 (patch)
tree44cc6a5ab5a20f7e55829f18b68a9f1191dac81d /include/gltf_loader.h
parentba27f3c22e79b91a2573b7efd00c5a3bbdb96dbc (diff)
downloadiris-main.tar.gz
iris-main.zip
move to new resource abstractionHEADmain
Diffstat (limited to 'include/gltf_loader.h')
-rw-r--r--include/gltf_loader.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gltf_loader.h b/include/gltf_loader.h
new file mode 100644
index 0000000..4b3190b
--- /dev/null
+++ b/include/gltf_loader.h
@@ -0,0 +1,9 @@
+#ifndef GLTF_LOADER_H
+
+#define GLTF_LOADER_H
+#include <string_view>
+#include "render_assets.h"
+#include "tiny_gltf.h"
+
+bool load_gltf(const std::string_view path, iris::Scene &scene);
+#endif \ No newline at end of file