Skip to content

How to set only a custom VFS to Engine? #467

Answered by mackron
fgnm asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, in the ma_engine_config object you can set the pResourceManagerVFS member to a pointer to your custom VFS:

ma_engine_config config = ma_engine_config_init();
config.pResourceManagerVFS = &myVFS;

ma_engine_init(&config, &engine);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fgnm
Comment options

Answer selected by fgnm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants