Sync
Description
Updates the scene with the
latest information, draws all sprites, updates global objects, and swaps the backbuffer into view.
i know we can manually Update,
Render, Swap, et al, but "latest information" sounds like more of Sync() could/should be exposed like a ClearInputBuffer() command? that might make a popular
Request on the Repo if you're up for it.
small tangent:
working with another user recently and i suggested that they only call GetPointerX/Y()/etc early and once per loop (where values can change throughout the loop), record the inputs and use the variables throughout the remainder of the loop; this goes back to advice posted when i was coding with DBPro.
when he did (in his rather large project), it (using the stored variable vs multiple direct calls) caused a sizable (& unexpected) performance hit