MQEngine
载入中...
搜索中...
未找到
ShininessSystem.h
浏览该文件的文档.
1//
2// Created by MQ on 2025/9/15.
3//
4
5#ifndef SHININESSSYSTEM_H
6#define SHININESSSYSTEM_H
8#include "../data/Camera.h"
9
10namespace MQEngine {
12 public:
13 ShininessSystem(FCT::Context* ctx, DataManager* dataManager);
14 void update();
15 void updateUniforms();
16 void bindShininess(entt::registry* registry, entt::entity entity, FCT::Layout* layout);
17
18 private:
19 void processEntity(entt::registry* registry, entt::entity entity);
20 void cleanupCacheComponents(entt::registry* registry);
21
22 FCT::Context* m_ctx;
25 };
26}
27
28#endif //SHININESSSYSTEM_H
#define ENGINE_API
定义 EnginePCH.h:14
定义 DataManager.h:58
void bindShininess(entt::registry *registry, entt::entity entity, FCT::Layout *layout)
定义 ShininessSystem.cpp:64
FCT::Context * m_ctx
定义 ShininessSystem.h:22
DataManager * m_dataManager
定义 ShininessSystem.h:23
ShininessSystem(FCT::Context *ctx, DataManager *dataManager)
定义 ShininessSystem.cpp:10
void updateUniforms()
定义 ShininessSystem.cpp:47
void cleanupCacheComponents(entt::registry *registry)
定义 ShininessSystem.cpp:77
FCT::Uniform m_defaultShininessUniform
定义 ShininessSystem.h:24
void processEntity(entt::registry *registry, entt::entity entity)
定义 ShininessSystem.cpp:32
void update()
定义 ShininessSystem.cpp:17
Entrypoint for the program.
定义 application.h:5