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
Is there a way to copy/clone the raw memory of a World into a separate instance of the World?
I'd like to experiment with independent update and render threads. To avoid rendering in the middle of an update I want to try using multiple Worlds that are swapped to let updates and renders happen simultaneously.
It would be a low level action that could be called 60UPS and (hopefully) 60FPS, so copying the contiguous memory blocks onto pre-allocated spans is preferred.
Thanks!
The text was updated successfully, but these errors were encountered:
Is there a way to copy/clone the raw memory of a World into a separate instance of the World?
I'd like to experiment with independent update and render threads. To avoid rendering in the middle of an update I want to try using multiple Worlds that are swapped to let updates and renders happen simultaneously.
It would be a low level action that could be called 60UPS and (hopefully) 60FPS, so copying the contiguous memory blocks onto pre-allocated spans is preferred.
Thanks!
The text was updated successfully, but these errors were encountered: