bevy/crates/bevy_render/src/texture
François 425570aa75
assets should be kept on CPU by default (#11212)
# Objective

- Since #10520, assets are unloaded from RAM by default. This breaks a
number of scenario:
  - using `load_folder`
- loading a gltf, then going through its mesh to transform them /
compute a collider / ...
- any assets/subassets scenario should be `Keep` as you can't know what
the user will do with the assets
  - android suspension, where GPU memory is unloaded

- Alternative to #11202 

## Solution

- Keep assets on CPU memory by default
2024-01-05 05:53:47 +00:00
..
basis.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
compressed_image_saver.rs Unload render assets from RAM (#10520) 2024-01-03 03:31:04 +00:00
dds.rs Detect cubemap for dds textures (#10222) 2023-10-21 19:10:37 +00:00
exr_texture_loader.rs Unload render assets from RAM (#10520) 2024-01-03 03:31:04 +00:00
fallback_image.rs Unload render assets from RAM (#10520) 2024-01-03 03:31:04 +00:00
hdr_texture_loader.rs Unload render assets from RAM (#10520) 2024-01-03 03:31:04 +00:00
image_loader.rs assets should be kept on CPU by default (#11212) 2024-01-05 05:53:47 +00:00
image_texture_conversion.rs Unload render assets from RAM (#10520) 2024-01-03 03:31:04 +00:00
image.rs assets should be kept on CPU by default (#11212) 2024-01-05 05:53:47 +00:00
ktx2.rs ktx2: Fix Rgb8 -> Rgba8Unorm conversion (#9555) 2023-08-24 00:35:52 +00:00
mod.rs Keep track of when a texture is first cleared (#10325) 2023-12-31 00:37:37 +00:00
texture_attachment.rs Keep track of when a texture is first cleared (#10325) 2023-12-31 00:37:37 +00:00
texture_cache.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00