-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathSystemTable.h
34 lines (27 loc) · 1.21 KB
/
SystemTable.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include "RuntimeInclude.h"
RUNTIME_MODIFIABLE_INCLUDE; //recompile runtime files when this changes
#include "ObjectInterfacePerModule.h"
struct RCCppMainLoopI;
struct ImGuiContext;
struct ID3D11Device;
struct ID3D11DeviceContext;
struct IDXGISwapChain;
struct ID3D11RenderTargetView;
struct IRuntimeObjectSystem;
struct ICompilerLogger;
struct ImDrawData;
typedef void (*ImGui_ImplDX11_RenderDrawDataFunc)( ImDrawData* draw_data );
static SystemTable*& g_pSys = PerModuleInterface::g_pSystemTable;
struct SystemTable
{
RCCppMainLoopI* pRCCppMainLoopI = NULL;
ImGuiContext* pImContext = NULL;
ID3D11Device* pd3dDevice = NULL;
ID3D11DeviceContext* pd3dDeviceContext = NULL;
IDXGISwapChain* pSwapChain = NULL;
ID3D11RenderTargetView* pMainRenderTargetView = NULL;
ImGui_ImplDX11_RenderDrawDataFunc ImGui_ImplDX11_RenderDrawData = NULL;
IRuntimeObjectSystem* pRuntimeObjectSystem = NULL;
ICompilerLogger* pLogger = NULL;
};