bevy/crates/bevy_render/src/texture
Jakob Hellermann 4796ea8d22
move texture_to_image and image_to_texture into new module (#1381)
The `Texture::convert` function previously was only compiled when
one of the image format features (`png`, `jpeg` etc.) were enabled.
The `bevy_sprite` crate needs this function though, which led
to compilation errors when using `cargo check --no-default-features
--features render`.

Now the `convert` function has no features and the `texture_to_image`
and `image_to_texture` utilites functions are in an unconditionally
compiled module.
2021-02-02 13:25:16 -08:00
..
hdr_texture_loader.rs Extend the Texture asset type to support 3D data (#903) 2020-11-22 12:04:47 -08:00
image_texture_conversion.rs move texture_to_image and image_to_texture into new module (#1381) 2021-02-02 13:25:16 -08:00
image_texture_loader.rs move texture_to_image and image_to_texture into new module (#1381) 2021-02-02 13:25:16 -08:00
mod.rs move texture_to_image and image_to_texture into new module (#1381) 2021-02-02 13:25:16 -08:00
sampler_descriptor.rs Update to wgpu-rs 0.7 (#542) 2021-01-31 20:06:42 -08:00
texture_descriptor.rs Update to wgpu-rs 0.7 (#542) 2021-01-31 20:06:42 -08:00
texture_dimension.rs Update to wgpu-rs 0.7 (#542) 2021-01-31 20:06:42 -08:00
texture.rs move texture_to_image and image_to_texture into new module (#1381) 2021-02-02 13:25:16 -08:00