diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-05 12:48:05 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-05 12:48:05 +1000 |
commit | dfb6adbcbcc7d50b770b6d5ea82efdd8f8c32e25 (patch) | |
tree | a470b91a90716d7ea46fde53ed395449c24583a2 /archive/src/resources/loaders.h | |
parent | 54354e32c6498cc7f8839ab4deb1208d37216cc5 (diff) |
delete documentation workflow
Diffstat (limited to 'archive/src/resources/loaders.h')
-rw-r--r-- | archive/src/resources/loaders.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/archive/src/resources/loaders.h b/archive/src/resources/loaders.h new file mode 100644 index 0000000..ea1f9a2 --- /dev/null +++ b/archive/src/resources/loaders.h @@ -0,0 +1,17 @@ +#pragma once + +#include "defines.h" +#include "render_types.h" +#include "str.h" + +// --- Public API +PUB ModelHandle ModelLoad_obj(const char* path, bool invert_texture_y); +PUB ModelHandle ModelLoad_gltf(const char* path, bool invert_texture_y); + +typedef struct GLTF_LoadStats { + u32 mesh_count, material_count, vertex_count, index_count, animation_count, joint_count; +} GLTF_LoadStats; + +// --- Internal +bool model_load_gltf_str(const char* file_string, const char* filepath, Str8 relative_path, + Model* out_model, bool invert_textures_y); |