Unravel Engine C++ Reference
Loading...
Searching...
No Matches
mesh_importer.h
Go to the documentation of this file.
1#pragma once
6
7namespace unravel
8{
9namespace importer
10{
12{
13 std::string name;
14 std::shared_ptr<material> mat;
15};
16
18{
19 std::string name;
20 std::string semantic;
21 bool inverse{};
24 uint32_t flags{std::numeric_limits<uint32_t>::max()};
25};
26
28 const fs::path& path,
29 const mesh_importer_meta& import_meta,
30 mesh::load_data& load_data,
31 std::vector<animation_clip>& animations,
32 std::vector<imported_material>& materials,
33 std::vector<imported_texture>& textures);
34
36} // namespace importer
37} // namespace unravel
Manages assets, including loading, unloading, and storage.
auto load_mesh_data_from_file(asset_manager &am, const fs::path &path, const mesh_importer_meta &import_meta, mesh::load_data &load_data, std::vector< animation_clip > &animations, std::vector< imported_material > &materials, std::vector< imported_texture > &textures) -> bool
std::shared_ptr< material > mat
Struct used for mesh construction.
Definition mesh.h:388