MCPcopy Create free account
hub / github.com/Italink/ModernGraphicsEngineGuide / main

Function main

Source/1-GraphicsAPI/05-3D/Source/main.cpp:134–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132};
133
134int main(int argc, char** argv) {
135 qputenv("QSG_INFO", "1");
136 QApplication app(argc, argv);
137
138 QRhiWindow::InitParams initParams;
139 initParams.backend = QRhi::Vulkan;
140 MyWindow* window = new MyWindow(initParams);
141 window->resize({ 800,600 });
142 window->show();
143
144 app.exec();
145 delete window;
146 return 0;
147}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected