D3D12 Core: - Implement complete device initialization flow - Add debug layer enablement in DEBUG mode - Add GPU adapter enumeration and selection - Add feature level checking (min 11.0) - Add DXCall and NAME_D3D12_OBJECT macros - Add release template function - Configure info queue for error/warning breakpoints Documentation: - Add changelog for D3D12 device initialization - Update D3D12 Wiki with current implementation status - Add Doxygen comments to Renderer and platform interface
16 lines
327 B
C++
16 lines
327 B
C++
#pragma once
|
|
#include "CommonHeader.h"
|
|
#include "Renderer.h"
|
|
|
|
namespace XEngine::graphics{
|
|
/**
|
|
* @brief 平台接口结构体
|
|
* @details 定义了图形渲染平台的初始化与关闭函数指针
|
|
*/
|
|
struct platform_interface{
|
|
bool(*initialize)(void);
|
|
void(*shutdown)(void);
|
|
};
|
|
}// namespace XEngine::graphics
|
|
|