#include <MatrixCacheSystem.h>
◆ MatrixCacheSystem()
MQEngine::MatrixCacheSystem::MatrixCacheSystem |
( |
FCT::Context * | ctx, |
|
|
DataManager * | dataManager ) |
◆ bindModelMatrix()
void MQEngine::MatrixCacheSystem::bindModelMatrix |
( |
entt::registry * | registry, |
|
|
entt::entity | entity, |
|
|
FCT::Layout * | layout ) |
◆ calculateModelMatrix()
FCT::Mat4 MQEngine::MatrixCacheSystem::calculateModelMatrix |
( |
const PositionComponent & | position, |
|
|
const RotationComponent & | rotation, |
|
|
const ScaleComponent & | scale ) |
|
private |
◆ calculateRotationMatrix()
FCT::Mat4 MQEngine::MatrixCacheSystem::calculateRotationMatrix |
( |
const RotationComponent & | rotation | ) |
|
|
private |
◆ cleanupCacheComponents()
void MQEngine::MatrixCacheSystem::cleanupCacheComponents |
( |
entt::registry * | registry | ) |
|
|
private |
◆ processEntity()
void MQEngine::MatrixCacheSystem::processEntity |
( |
entt::registry * | registry, |
|
|
entt::entity | entity ) |
|
private |
◆ update()
void MQEngine::MatrixCacheSystem::update |
( |
| ) |
|
◆ updateUniforms()
void MQEngine::MatrixCacheSystem::updateUniforms |
( |
| ) |
|
◆ m_ctx
FCT::Context* MQEngine::MatrixCacheSystem::m_ctx |
|
private |
◆ m_dataManager
DataManager* MQEngine::MatrixCacheSystem::m_dataManager |
|
private |
◆ m_defaultModelUniform
FCT::Uniform MQEngine::MatrixCacheSystem::m_defaultModelUniform |
|
private |
该类的文档由以下文件生成: