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
7namespace candlewick {
8
10enum class mesh_load_retc : Uint16 {
12 NO_MESHES = 1 << 1,
13
14 OK = 1 << 4,
15};
16
20 std::vector<MeshData> &meshData);
21} // namespace candlewick
Definition Camera.h:8
mesh_load_retc
Return codes for loadSceneMeshes().
Definition LoadMesh.h:10
@ FAILED_TO_LOAD
Definition LoadMesh.h:11
@ OK
Definition LoadMesh.h:14
@ NO_MESHES
Definition LoadMesh.h:12
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.