- 新增 d3d12_surface 类,管理交换链和渲染目标 - 实现三重缓冲后台缓冲区管理 - 添加视口和裁剪矩形配置 - 修复 GraphicsPlatformInterface.h 循环包含问题 - 添加完整的中文 Doxygen 注释 - 更新 D3D12 学习 Wiki,添加交换链章节
16 lines
333 B
C++
16 lines
333 B
C++
#include "D3D12Interface.h"
|
|
#include "D3D12Core.h"
|
|
#include "Graphics\GraphicsPlatformInterface.h"
|
|
|
|
namespace XEngine::graphics::d3d12{
|
|
void get_platform_interface(platform_interface& pi)
|
|
{
|
|
pi.initialize = core::initialize;
|
|
pi.shutdown = core::shutdown;
|
|
pi.render = core::render;
|
|
}
|
|
}// namespace XEngine::graphics::d3d12
|
|
|
|
|
|
|