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{
13
16
19
22
25
28
31
32void save_to_file(const std::string& absolute_path, const mesh::load_data& obj);
33void save_to_file_bin(const std::string& absolute_path, const mesh::load_data& obj);
34void load_from_file(const std::string& absolute_path, mesh::load_data& obj);
35void load_from_file_bin(const std::string& absolute_path, mesh::load_data& obj);
36
37} // namespace unravel
38
39namespace bgfx
40{
41SAVE_EXTERN(VertexLayout);
42LOAD_EXTERN(VertexLayout);
43} // namespace bgfx
Main class representing a 3D mesh with support for different LODs, submeshes, and skinning.
Definition mesh.h:323
Structure describing how a skinned mesh should be bound to any bones that influence its vertices.
Definition mesh.h:53
Definition mesh.cpp:17
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:136
#define LOAD_EXTERN(cls)
#define SAVE_EXTERN(cls)
< Structure describing LOD level information. Total number of vertices.
Definition mesh.h:356
Struct used for mesh construction.
Definition mesh.h:451
Structure describing data for a single triangle in the mesh.
Definition mesh.h:379
Describes the vertices that are connected to the referenced bone and how much influence it has on the...
Definition mesh.h:71
Describes how a bone influences a specific vertex.
Definition mesh.h:59