summaryrefslogtreecommitdiff
path: root/src/resources/loaders.h
blob: d8437b9fd7557db2c8ab2f1d927932d0d6f24683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "defines.h"
#include "render_types.h"
#include "str.h"

// --- Public API
ModelHandle Model_Load_obj(const char *path, bool invert_texture_y);
ModelHandle 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);