- 修复RootSignature参数数量与HelloEarth一致 - 修复StaticMeshComponent中device为nullptr的问题 - 修复CommandList::Reset类型转换问题 - 修复RTV创建使用nullptr而不是rtvDesc - 添加SwapChain的GetCurrentRenderTarget方法 - 修复DepthStencil创建问题(暂时跳过) - 渲染循环基本可运行
7 lines
159 B
C++
7 lines
159 B
C++
#include <windows.h>
|
|
|
|
int WINAPI wWinMain(HINSTANCE h, HINSTANCE p, LPWSTR c, int s) {
|
|
MessageBoxW(NULL, L"Hello World!", L"Test", MB_OK);
|
|
return 0;
|
|
}
|