Shows what was drawn to window. Anything still batched is drawn first.
- vsync: waits for the display's next refresh before showing the frame. On by default.
swap_buffers :: (window: Window_Type, vsync := true)
Shows what was drawn to window. Anything still batched is drawn first.
Parameters
- window: Window_Type
- vsync := true
- waits for the display's next refresh before showing the frame. On by default.