bevy/crates/bevy_ui/src/render
ickshonpe 5f1261110f Flip UI image (#6292)
# Objective
Fixes  #3225, Allow for flippable UI Images

## Solution
Add flip_x and flip_y fields to UiImage, and swap the UV coordinates accordingly in ui_prepare_nodes.

## Changelog
* Changes UiImage to a struct with texture, flip_x, and flip_y fields.
* Adds flip_x and flip_y fields to ExtractedUiNode.
* Changes extract_uinodes to extract the flip_x and flip_y values from UiImage.
* Changes prepare_uinodes to swap the UV coordinates as required.
* Changes UiImage derefs to texture field accesses.
2022-11-14 21:59:17 +00:00
..
mod.rs Flip UI image (#6292) 2022-11-14 21:59:17 +00:00
pipeline.rs Specialize UI pipeline on "hdr-ness" (#6459) 2022-11-03 21:14:03 +00:00
render_pass.rs Use new let-else syntax where possible (#6463) 2022-11-04 21:32:09 +00:00
ui.wgsl adjust cluster index for viewport origin (#5947) 2022-09-15 21:58:14 +00:00