daScript icon indicating copy to clipboard operation
daScript copied to clipboard

about live

Open Tonyemu opened this issue 3 years ago • 1 comments

I am trying the live library for hot reloading, but I found that the data is lost during runtime after reloading, how can I solve this problem, thank you.

Tonyemu avatar Jun 04 '22 12:06 Tonyemu

Create debug agent, which will have separate context. Store permanent data there. opengl_cache.das is reasonably good example. Alternatively save data during 'shutdown', and restore at 'initialize'.

borisbat avatar Jun 11 '22 20:06 borisbat