bevy/crates/bevy_render/src/texture
KDecay 7a7f097485 Move Size to bevy_ui (#4285)
# Objective

- Related #4276.
- Part of the splitting process of #3503.

## Solution

- Move `Size` to `bevy_ui`.

## Reasons

- `Size` is only needed in `bevy_ui` (because it needs to use `Val` instead of `f32`), but it's also used as a worse `Vec2`  replacement in other areas.
- `Vec2` is more powerful than `Size` so it should be used whenever possible.
- Discussion in #3503.

## Changelog

### Changed

- The `Size` type got moved from `bevy_math` to `bevy_ui`.

## Migration Guide

- The `Size` type got moved from `bevy::math` to `bevy::ui`. To migrate you just have to import `bevy::ui::Size` instead of `bevy::math::Math` or use the `bevy::prelude` instead.

Co-authored-by: KDecay <KDecayMusic@protonmail.com>
2022-04-25 13:54:46 +00:00
..
basis.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
dds.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
hdr_texture_loader.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
image_texture_conversion.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
image_texture_loader.rs Do not crash if RenderDevice doesn't exist (#4427) 2022-04-05 19:37:23 +00:00
image.rs Move Size to bevy_ui (#4285) 2022-04-25 13:54:46 +00:00
ktx2.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
mod.rs Introduce SystemLabel's for RenderAssetPlugin, and change Image preparation system to run before others (#3917) 2022-03-29 19:44:45 +00:00
texture_cache.rs Reuse texture when resolving multiple passes (#3552) 2022-04-12 19:27:30 +00:00