mirror of
https://github.com/bevyengine/bevy
synced 2024-11-15 01:18:01 +00:00
480b3baa44
# Objective - In WASM, creating a pipeline can easily take 2 seconds, freezing the game while doing so - Preloading pipelines can be done during a "loading" state, but it is not trivial to know which pipeline to preload, or when it's done ## Solution - Add a log with shaders being loaded and their shader defs - add a function on `PipelineCache` to return the number of ready pipelines |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |