Karma Engine
Loading...
Searching...
No Matches
SceneModel.h
1#pragma once
2
3#include "krpch.h"
4
5#include "Karma/Renderer/Mesh.h"
6#include <assimp/Importer.hpp>
7#include <assimp/scene.h>
8#include <assimp/postprocess.h>
9
10namespace Karma
11{
12 class KARMA_API SceneModel
13 {
14 public:
15 SceneModel(const std::string& filePath, MeshType mType = MeshType::Mesh);
16
17 void ProcessNode(aiNode* nodeToProcess, const aiScene* theScene);
18
19 const std::vector<std::shared_ptr<Mesh>>& GetMeshList() const { return m_Meshes; }
20
21 private:
22 std::vector<std::shared_ptr<Mesh>> m_Meshes;
23 };
24}
Definition SceneModel.h:13