Files
DX12/Engine/Graphics/GraphicsPlatformInterface.h
SpecialX 7da17ccadd feat: implement command queue with multi-frame buffering
D3D12 Core:
- Add d3d12_command class for command queue management
- Support Direct/Compute/Copy command queue types
- Implement multi-frame buffering (frame_buffer_count=3)
- Add begin_frame/end_frame rendering cycle
- Add NAME_D3D12_OBJECT_INDEXED macro

Platform Interface:
- Add render function pointer to platform_interface
- Implement render() in Renderer

Documentation:
- Add changelog for command queue implementation
- Update D3D12 Wiki with multi-frame buffering section
- Mark command queue task as completed
2026-03-27 12:31:12 +08:00

17 lines
352 B
C++

#pragma once
#include "CommonHeader.h"
#include "Renderer.h"
namespace XEngine::graphics{
/**
* @brief 平台接口结构体
* @details 定义了图形渲染平台的初始化与关闭函数指针
*/
struct platform_interface{
bool(*initialize)(void);
void(*shutdown)(void);
void(*render)(void);
};
}// namespace XEngine::graphics