5#ifndef MESHRENDERYSTEM_H
6#define MESHRENDERYSTEM_H
10#include <unordered_map>
22 void loadMesh(
const std::string& modelUuid,
const std::string& meshName);
#define ENGINE_API
定义 EnginePCH.h:14
MeshCacheSystem(FCT::Context *ctx, DataManager *dataManager)
定义 MeshCacheSystem.cpp:11
FCT::Context * m_ctx
定义 MeshCacheSystem.h:27
FCT::Mat4 calculateModelMatrix(const PositionComponent &position, const RotationComponent &rotation, const ScaleComponent &scale)
定义 MeshCacheSystem.cpp:93
std::unordered_map< std::string, FCT::StaticMesh< uint32_t > * > m_loadedMeshes
定义 MeshCacheSystem.h:30
void update()
定义 MeshCacheSystem.cpp:26
DataManager * m_dataManager
定义 MeshCacheSystem.h:28
void loadMesh(const std::string &modelUuid, const std::string &meshName)
定义 MeshCacheSystem.cpp:55
void collectMeshes()
定义 MeshCacheSystem.cpp:31