Minimal standalone MXVK Python window example. More...
Go to the source code of this file.
Namespaces | |
| namespace | main |
Functions | |
| int | main.main () |
Minimal standalone MXVK Python window example.
Creates a Window directly, sets a clear color, runs the event loop with vsync, and explicitly releases Vulkan resources on shutdown. This is the starting point for applications that do not need custom sprite, input, or model callbacks.
The finally clause calls release() even if the event loop raises, which is the required explicit shutdown step for a directly constructed window.
Definition in file main.py.