Unravel Engine C++ Reference
Loading...
Searching...
No Matches
mesh.hpp
Go to the documentation of this file.
1#pragma once
3#include "texture.hpp"
4
7
8namespace unravel
9{
11
12
15
18
21
24
27
30
31void save_to_file(const std::string& absolute_path, const mesh::load_data& obj);
32void save_to_file_bin(const std::string& absolute_path, const mesh::load_data& obj);
33void load_from_file(const std::string& absolute_path, mesh::load_data& obj);
34void load_from_file_bin(const std::string& absolute_path, mesh::load_data& obj);
35
36} // namespace unravel
37
38namespace bgfx
39{
40SAVE_EXTERN(VertexLayout);
41LOAD_EXTERN(VertexLayout);
42} // namespace bgfx
Structure describing how a skinned mesh should be bound to any bones that influence its vertices.
Definition mesh.h:45
Definition mesh.cpp:14
void save_to_file_bin(const std::string &absolute_path, const animation_clip &obj)
void load_from_file(const std::string &absolute_path, animation_clip &obj)
void save_to_file(const std::string &absolute_path, const animation_clip &obj)
void load_from_file_bin(const std::string &absolute_path, animation_clip &obj)
#define REFLECT_EXTERN(cls)
Definition reflection.h:120
#define LOAD_EXTERN(cls)
#define SAVE_EXTERN(cls)
Struct used for mesh construction.
Definition mesh.h:388
Structure describing data for a single triangle in the mesh.
Definition mesh.h:352
Describes the vertices that are connected to the referenced bone and how much influence it has on the...
Definition mesh.h:63
Describes how a bone influences a specific vertex.
Definition mesh.h:51