DLT_Splitter/Src/Global_Variables.cpp

20 lines
642 B
C++

#include "Global_Variables.hpp"
// 主窗体句柄
HWND Main_Window_hWnd = nullptr;
// D3D11 相关
ID3D11Device *g_pd3dDevice = nullptr; // D3D11 设备句柄
ID3D11DeviceContext *g_pd3dDeviceContext = nullptr; // D3D11 设备上下文句柄
IDXGISwapChain *g_pSwapChain = nullptr; // DXGI 交换链句柄
bool g_SwapChainOccluded = false; // 交换链是否阻塞
ID3D11RenderTargetView *g_mainRenderTargetView = nullptr; // D3D11 渲染目标
// 文件输入相关
Input_File_Node *input_dlt_file_list_head;
size_t input_dlt_file_count;
// 节点编辑器
Workflow_Editor_Class Workflow_Editor;