We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bevy now has AssetSaver. This allows a cross-platform way of saving assets by:
AssetSaver
AssetWriter
AssetSource
AssetServer
AssetWriter::write
AsyncWrite
AssetSaver::save
In the future this will likely be streamlined but for now we should support AssetSaver to support this "canonical" workflow.
The text was updated successfully, but these errors were encountered:
For reference: the postcard feature already includes an asset saver
postcard
bevy_common_assets/src/postcard.rs
Lines 102 to 118 in 7618bc5
Sorry, something went wrong.
No branches or pull requests
Bevy now has
AssetSaver
. This allows a cross-platform way of saving assets by:AssetWriter
from anAssetSource
(fromAssetServer
)AssetWriter::write
to get anAsyncWrite
object.AssetSaver::save
with thatAsyncWrite
object.In the future this will likely be streamlined but for now we should support
AssetSaver
to support this "canonical" workflow.The text was updated successfully, but these errors were encountered: