feat(d3d12): 实现交换链与渲染表面管理
- 新增 d3d12_surface 类,管理交换链和渲染目标 - 实现三重缓冲后台缓冲区管理 - 添加视口和裁剪矩形配置 - 修复 GraphicsPlatformInterface.h 循环包含问题 - 添加完整的中文 Doxygen 注释 - 更新 D3D12 学习 Wiki,添加交换链章节
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "CommonHeader.h"
|
||||
#include "Graphics\Renderer.h"
|
||||
#include "Platform\Window.h"
|
||||
|
||||
// 引入 DirectX Graphics Infrastructure(DXGI)6.0
|
||||
// 头文件,用于访问 DXGI 接口(如 IDXGIFactory6、
|
||||
@@ -23,7 +24,7 @@
|
||||
#pragma comment(lib, "dxgi.lib")
|
||||
#pragma comment(lib, "d3d12.lib")
|
||||
|
||||
namespace XEngine::graphics::d3d12::core {
|
||||
namespace XEngine::graphics::d3d12 {
|
||||
constexpr u32 frame_buffer_count{ 3 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user