Files
gpd-925-en/GraphicsProgramming/D3D11/Window.h
T
2026-09-29 22:45:21 +02:00

16 lines
258 B
C++

#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
};