add D3D11 project

This commit is contained in:
2025-11-19 09:43:09 +01:00
parent 9134d2dc40
commit bff01f5adb
36 changed files with 2779 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include <Windows.h>
class Window
{
public:
INT init(HINSTANCE hInstance, UINT width, UINT height);
BOOL run();
void deInit();
HWND getWindowHandle() const { return _hWnd; }
private:
HWND _hWnd = nullptr; // handle to window instance
};
LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);