Replies: 1 comment
-
As you say it is a bit out of scope, but the load functionality of io module works on any file, so you could load a settings file using that and parse it using serde or something. The problem is that saving only works on desktop at the moment, so that needs to be implemented for this to work. egui actually has a persistence feature, which uses the local storage so you could do something similar locally or use the same approach to implement saving on web in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@asny, or anyone else: This may be outside the scope of the three-d project itself, but it could be related:
I'm now using the new egui integration to expose settings that change program behavior, and it would be helpful if I had a way to make those settings persist across multiple executions. This would normally be a minor task, but I want it to work in both desktop and web mode.
Is there an existing library that will do this that would integrate well with a three-d project? I'm hoping there's something that's already implemented somewhere that presents a single interface for desktop and web targets; any advice is welcome.
Beta Was this translation helpful? Give feedback.
All reactions