5#ifndef MATRIXCACHESYSTEM_H
6#define MATRIXCACHESYSTEM_H
16 void bindModelMatrix(entt::registry* registry, entt::entity entity, FCT::Layout* layout);
19 void processEntity(entt::registry* registry, entt::entity entity);
#define ENGINE_API
定义 EnginePCH.h:14
void cleanupCacheComponents(entt::registry *registry)
定义 MatrixCacheSystem.cpp:140
FCT::Mat4 calculateModelMatrix(const PositionComponent &position, const RotationComponent &rotation, const ScaleComponent &scale)
定义 MatrixCacheSystem.cpp:113
DataManager * m_dataManager
定义 MatrixCacheSystem.h:25
FCT::Mat4 calculateRotationMatrix(const RotationComponent &rotation)
定义 MatrixCacheSystem.cpp:105
void bindModelMatrix(entt::registry *registry, entt::entity entity, FCT::Layout *layout)
定义 MatrixCacheSystem.cpp:127
void processEntity(entt::registry *registry, entt::entity entity)
定义 MatrixCacheSystem.cpp:52
MatrixCacheSystem(FCT::Context *ctx, DataManager *dataManager)
定义 MatrixCacheSystem.cpp:9
void updateUniforms()
定义 MatrixCacheSystem.cpp:87
FCT::Context * m_ctx
定义 MatrixCacheSystem.h:24
FCT::Uniform m_defaultModelUniform
定义 MatrixCacheSystem.h:26
void update()
定义 MatrixCacheSystem.cpp:17