windows窗口和D3D设备

This commit is contained in:
2025-03-01 15:54:13 +08:00
commit 3479b9443b
26 changed files with 21485 additions and 0 deletions

20
example/src/main.cpp Normal file
View File

@@ -0,0 +1,20 @@
//
// Created by Administrator on 25-2-26.
//
#include "mirage.h"
#include "core/render_window.h"
int main(int argc, char* argv[]) {
mirage_app app;
mirage_window window;
window.create_window(800, 600, L"Hello, World!");
window.show();
while (!mirage_window::get_windows().empty()) {
mirage_window::poll_events();
}
app.init();
return 0;
}