Loading GLTF/assets binary directly from memory #13602
Replies: 3 comments 5 replies
-
I think you can use |
Beta Was this translation helpful? Give feedback.
-
I agree it would be much more convenient to have a way to load an asset from a |
Beta Was this translation helpful? Give feedback.
-
Were you ever able to come up with a viable solution to this? It seems like there should be some way to leverage the |
Beta Was this translation helpful? Give feedback.
-
I have a gltf binary in memory available before launching the App Bevy. There is other code that generates this binary, and I would like to avoid saving it to the disk and then loading it into Bevy.
Is there a way to create dynamicalty an embedded assets or assets directly from memory instead of going through the file system?
For the moment, I have the impression that we can only create embedded assets from a file source bevy::asset::io::embedded::EmbeddedAssetRegistry?
What would be the best way to do it?
Beta Was this translation helpful? Give feedback.
All reactions