MQEngine
载入中...
搜索中...
未找到
EngineGlobal.h
浏览该文件的文档.
1
#ifndef ENGINEGLOBAL_H
2
#define ENGINEGLOBAL_H
3
#include "../Thirdparty/thirdparty.h"
4
#include "
../EnginePCH.h
"
5
#include "
../event/sceneEvent.h
"
6
namespace
MQEngine
7
{
8
class
DataManager
;
9
class
ScriptSystem
;
10
class
CameraSystem
;
11
class
LightingSystem
;
12
class
MatrixCacheSystem
;
13
class
TextureCacheSystem
;
14
class
ShininessSystem
;
15
using
Context
= FCT::Context;
16
struct
ENGINE_API
EngineGlobal
17
{
18
Context
*
ctx
;
19
FCT::Runtime*
rt
;
20
DataManager
*
dataManager
;
21
ScriptSystem
*
scriptSystem
;
22
CameraSystem
*
cameraSystem
;
23
LightingSystem
*
lightingSystem
;
24
MatrixCacheSystem
*
matrixCacheSystem
;
25
TextureCacheSystem
*
textureRenderSystem
;
26
ShininessSystem
*
shininessSystem
;
27
FCT::EventDispatcher<FCT::EventSystemConfig::TriggerOnly>
sceneEventPipe
;
28
EngineGlobal
() =
default
;
29
EngineGlobal
(
const
EngineGlobal
&) =
delete
;
30
EngineGlobal
&
operator=
(
const
EngineGlobal
&) =
delete
;
31
EngineGlobal
(
EngineGlobal
&&) =
default
;
32
EngineGlobal
&
operator=
(
EngineGlobal
&&) =
default
;
33
};
34
35
extern
ENGINE_API
EngineGlobal
g_engineGlobal
;
36
}
37
#endif
//ENGINEGLOBAL_H
EnginePCH.h
ENGINE_API
#define ENGINE_API
定义
EnginePCH.h:14
MQEngine::CameraSystem
定义
CameraSystem.h:10
MQEngine::DataManager
定义
DataManager.h:58
MQEngine::LightingSystem
定义
LightingSystem.h:15
MQEngine::MatrixCacheSystem
定义
MatrixCacheSystem.h:11
MQEngine::ScriptSystem
定义
ScriptSystem.h:19
MQEngine::ShininessSystem
定义
ShininessSystem.h:11
MQEngine::TextureCacheSystem
定义
TextureCacheSystem.h:14
MQEngine
Entrypoint for the program.
定义
application.h:5
MQEngine::Context
FCT::Context Context
定义
EngineGlobal.h:15
MQEngine::g_engineGlobal
EngineGlobal g_engineGlobal
定义
engine.cpp:29
sceneEvent.h
MQEngine::EngineGlobal
定义
EngineGlobal.h:17
MQEngine::EngineGlobal::sceneEventPipe
FCT::EventDispatcher< FCT::EventSystemConfig::TriggerOnly > sceneEventPipe
定义
EngineGlobal.h:27
MQEngine::EngineGlobal::EngineGlobal
EngineGlobal()=default
MQEngine::EngineGlobal::dataManager
DataManager * dataManager
定义
EngineGlobal.h:20
MQEngine::EngineGlobal::EngineGlobal
EngineGlobal(EngineGlobal &&)=default
MQEngine::EngineGlobal::shininessSystem
ShininessSystem * shininessSystem
定义
EngineGlobal.h:26
MQEngine::EngineGlobal::rt
FCT::Runtime * rt
定义
EngineGlobal.h:19
MQEngine::EngineGlobal::operator=
EngineGlobal & operator=(EngineGlobal &&)=default
MQEngine::EngineGlobal::operator=
EngineGlobal & operator=(const EngineGlobal &)=delete
MQEngine::EngineGlobal::cameraSystem
CameraSystem * cameraSystem
定义
EngineGlobal.h:22
MQEngine::EngineGlobal::textureRenderSystem
TextureCacheSystem * textureRenderSystem
定义
EngineGlobal.h:25
MQEngine::EngineGlobal::matrixCacheSystem
MatrixCacheSystem * matrixCacheSystem
定义
EngineGlobal.h:24
MQEngine::EngineGlobal::ctx
Context * ctx
定义
EngineGlobal.h:18
MQEngine::EngineGlobal::scriptSystem
ScriptSystem * scriptSystem
定义
EngineGlobal.h:21
MQEngine::EngineGlobal::EngineGlobal
EngineGlobal(const EngineGlobal &)=delete
MQEngine::EngineGlobal::lightingSystem
LightingSystem * lightingSystem
定义
EngineGlobal.h:23
MQEngine
Engine
src
core
EngineGlobal.h
制作者
1.14.0