26 def __init__(self, width: int, height: int, fullscreen: bool, enable_vsync: bool) ->
None:
27 super().
__init__(
"VK_Example", width, height, fullscreen,
False, enable_vsync)
30 self.set_font(str(DATA_DIR /
"font.ttf"), 24)
31 self.
sprite = self.create_sprite(str(DATA_DIR /
"intro.png"), str(DATA_DIR /
"sprite.vert.spv"), str(DATA_DIR /
"fragment.frag.spv"))
None event(self, mxvk.Event event)
None __init__(self, str filename, int width, int height, bool fullscreen, bool enable_vsync)
argparse.Namespace parse_args()