You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the library! Is there an easy way to simply draw shapes in main without using the update and render functions. I am trying to draw a large number of shapes, one on top of the other, but they keep erasing when update is called. Any help is much appreciated.
The text was updated successfully, but these errors were encountered:
Hi @josiah-brown. Sorry, nothing like that is built in. Behind the scenes, the graphics engine clears the back buffer, draws the contents in your render() function, then swaps the back buffer to the front buffer, or what is visible in the window. I'm sure it's possible to retain the contents drawn, but would have to figure out how to do that in a dual-buffered system, something like this. Alternatively, you might be interested in something like Cairo instead.
Thank you for the library! Is there an easy way to simply draw shapes in main without using the update and render functions. I am trying to draw a large number of shapes, one on top of the other, but they keep erasing when update is called. Any help is much appreciated.
The text was updated successfully, but these errors were encountered: