diff options
Diffstat (limited to 'src/resources/loaders.h')
-rw-r--r-- | src/resources/loaders.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/resources/loaders.h b/src/resources/loaders.h index fe03ed9..d8437b9 100644 --- a/src/resources/loaders.h +++ b/src/resources/loaders.h @@ -2,8 +2,12 @@ #include "defines.h" #include "render_types.h" +#include "str.h" -struct core; +// --- Public API +ModelHandle Model_Load_obj(const char *path, bool invert_texture_y); +ModelHandle Model_Load_gltf(const char *path, bool invert_texture_y); -model_handle model_load_obj(const char *path, bool invert_texture_y); -model_handle model_load_gltf(const char *path, bool invert_texture_y); +// --- Internal +bool model_load_gltf_str(const char *file_string, const char *filepath, Str8 relative_path, + Model *out_model, bool invert_textures_y); |