MQEngine
载入中...
搜索中...
未找到
MQEngine::MeshCacheSystem类 参考

#include <MeshCacheSystem.h>

MQEngine::MeshCacheSystem 的协作图:

Public 成员函数

 MeshCacheSystem (FCT::Context *ctx, DataManager *dataManager)
 ~MeshCacheSystem ()
void update ()
void collectMeshes ()
void loadMesh (const std::string &modelUuid, const std::string &meshName)

Private 成员函数

FCT::Mat4 calculateModelMatrix (const PositionComponent &position, const RotationComponent &rotation, const ScaleComponent &scale)

Private 属性

FCT::Context * m_ctx
DataManagerm_dataManager
std::unordered_map< std::string, FCT::StaticMesh< uint32_t > * > m_loadedMeshes

构造及析构函数说明

◆ MeshCacheSystem()

MQEngine::MeshCacheSystem::MeshCacheSystem ( FCT::Context * ctx,
DataManager * dataManager )

◆ ~MeshCacheSystem()

MQEngine::MeshCacheSystem::~MeshCacheSystem ( )

成员函数说明

◆ calculateModelMatrix()

FCT::Mat4 MQEngine::MeshCacheSystem::calculateModelMatrix ( const PositionComponent & position,
const RotationComponent & rotation,
const ScaleComponent & scale )
private

◆ collectMeshes()

void MQEngine::MeshCacheSystem::collectMeshes ( )
函数调用图:
这是这个函数的调用关系图:

◆ loadMesh()

void MQEngine::MeshCacheSystem::loadMesh ( const std::string & modelUuid,
const std::string & meshName )
这是这个函数的调用关系图:

◆ update()

void MQEngine::MeshCacheSystem::update ( )
函数调用图:

类成员变量说明

◆ m_ctx

FCT::Context* MQEngine::MeshCacheSystem::m_ctx
private

◆ m_dataManager

DataManager* MQEngine::MeshCacheSystem::m_dataManager
private

◆ m_loadedMeshes

std::unordered_map<std::string, FCT::StaticMesh<uint32_t>*> MQEngine::MeshCacheSystem::m_loadedMeshes
private

该类的文档由以下文件生成: