feat: initial DX12 foundation framework
This commit is contained in:
20
Engine/Platform/IncludeWindowCpp.h
Normal file
20
Engine/Platform/IncludeWindowCpp.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* @file IncludeWindowCpp.h
|
||||
* @brief 以单编译单元方式引入 Window.cpp 的桥接头。
|
||||
* @details
|
||||
* 某些构建路径通过宏控制将 Window.cpp 以内联包含方式编译。
|
||||
* 该头文件负责:
|
||||
* - 定义 INCLUDE_WINDOW_CPP 触发实现体暴露;
|
||||
* - 包含 Window.cpp;
|
||||
* - 立即取消宏定义以避免污染后续编译单元。
|
||||
*/
|
||||
#pragma once
|
||||
/**
|
||||
* @brief 启用 Window.cpp 头内实现编译模式。
|
||||
*/
|
||||
#define INCLUDE_WINDOW_CPP 1
|
||||
#include "Window.cpp"
|
||||
/**
|
||||
* @brief 关闭 Window.cpp 头内实现编译模式。
|
||||
*/
|
||||
#undef INCLUDE_WINDOW_CPP
|
||||
Reference in New Issue
Block a user