feat: initial DX12 foundation framework

This commit is contained in:
SpecialX
2026-03-19 18:27:49 +08:00
commit 60f73b525d
70 changed files with 8993 additions and 0 deletions

View 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