bevy/crates
robtfm bd6764113b allow asset loader pre-registration (#9429)
# Objective

- When loading gltf files during app creation (for example using a
FromWorld impl and adding that as a resource), no loader was found.
- As the gltf loader can load compressed formats, it needs to know what
the GPU supports so it's not available at app creation time.

## Solution

alternative to #9426

- add functionality to preregister the loader. loading assets with
matching extensions will block until a real loader is registered.
- preregister "gltf" and "glb".
- prereigster image formats.

the way this is set up, if a set of extensions are all registered with a
single preregistration call, then later a loader is added that matches
some of the extensions, assets using the remaining extensions will then
fail. i think that should work well for image formats that we don't know
are supported until later.
2023-08-14 15:36:16 -07:00
..
bevy_a11y Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_animation Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_app Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_asset allow asset loader pre-registration (#9429) 2023-08-14 15:36:16 -07:00
bevy_audio Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_core Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_core_pipeline Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_derive Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_diagnostic Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_dylib Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_dynamic_plugin Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_ecs Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_ecs_compile_fail_tests Resolve clippy issues for rust 1.70.0 (#8738) 2023-06-01 21:05:05 +00:00
bevy_encase_derive Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_gilrs Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_gizmos Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_gltf allow asset loader pre-registration (#9429) 2023-08-14 15:36:16 -07:00
bevy_hierarchy Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_input Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_internal Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_log Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_macro_utils Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_macros_compile_fail_tests bevy_derive: Add #[deref] attribute (#8552) 2023-05-16 18:29:09 +00:00
bevy_math Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_mikktspace Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_pbr Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_ptr Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_reflect Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_reflect_compile_fail_tests bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
bevy_render allow asset loader pre-registration (#9429) 2023-08-14 15:36:16 -07:00
bevy_scene Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_sprite Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_tasks Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_text Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_time Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_transform Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_ui Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_utils Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_window Release 0.11.1 2023-08-09 18:22:41 -07:00
bevy_winit Release 0.11.1 2023-08-09 18:22:41 -07:00