feat(d3d12): 实现交换链与渲染表面管理

- 新增 d3d12_surface 类,管理交换链和渲染目标
- 实现三重缓冲后台缓冲区管理
- 添加视口和裁剪矩形配置
- 修复 GraphicsPlatformInterface.h 循环包含问题
- 添加完整的中文 Doxygen 注释
- 更新 D3D12 学习 Wiki,添加交换链章节
This commit is contained in:
SpecialX
2026-03-31 11:12:11 +08:00
parent b6c0211d6a
commit 95d8893182
14 changed files with 840 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#pragma once
#include "D3D12CommonHeader.h"
namespace XEngine::graphics::d3d12::core {
namespace XEngine::graphics::d3d12 {
/**
* @brief 前向声明,用于友元类关系
@@ -417,4 +417,4 @@ private:
const D3D12_DESCRIPTOR_HEAP_TYPE _type;
};
} // namespace XEngine::graphics::d3d12::core
} // namespace XEngine::graphics::d3d12