-
Is there an easy way to change the default VFS with a custom one easily in the Engine object while leaving anything else as default? |
Beta Was this translation helpful? Give feedback.
Answered by
mackron
May 11, 2022
Replies: 1 comment 1 reply
-
Yes, in the ma_engine_config config = ma_engine_config_init();
config.pResourceManagerVFS = &myVFS;
ma_engine_init(&config, &engine); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fgnm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, in the
ma_engine_config
object you can set thepResourceManagerVFS
member to a pointer to your custom VFS: