candlewick
0.1.0
A renderer
Loading...
Searching...
No Matches
LoadMesh.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Utils.h
"
4
#include <SDL3/SDL_stdinc.h>
5
#include <vector>
6
7
namespace
candlewick
{
8
10
enum class
mesh_load_retc
: Uint16 {
11
FAILED_TO_LOAD
= 1 << 0,
12
NO_MESHES
= 1 << 1,
13
14
OK
= 1 << 4,
15
};
16
19
mesh_load_retc
loadSceneMeshes
(
const
char
*path,
20
std::vector<MeshData> &meshData);
21
}
// namespace candlewick
Utils.h
candlewick
Definition
Camera.h:8
candlewick::mesh_load_retc
mesh_load_retc
Return codes for loadSceneMeshes().
Definition
LoadMesh.h:10
candlewick::mesh_load_retc::FAILED_TO_LOAD
@ FAILED_TO_LOAD
Definition
LoadMesh.h:11
candlewick::mesh_load_retc::OK
@ OK
Definition
LoadMesh.h:14
candlewick::mesh_load_retc::NO_MESHES
@ NO_MESHES
Definition
LoadMesh.h:12
candlewick::loadSceneMeshes
mesh_load_retc loadSceneMeshes(const char *path, std::vector< MeshData > &meshData)
Load the meshes from the given path. This is implemented using the assimp library.
src
candlewick
utils
LoadMesh.h
Generated by
1.13.2