bevy/crates/bevy_ui/src/render
ickshonpe 8ac745ab10
UI texture slice texture flipping reimplementation (#15034)
# Objective

Fixes #15032

## Solution

Reimplement support for the `flip_x` and `flip_y` fields.
This doesn't flip the border geometry, I'm not really sure whether that
is desirable or not.
Also fixes a bug that was causing the side and center slices to tile
incorrectly.

### Testing

```
cargo run --example ui_texture_slice_flip_and_tile
```

## Showcase
<img width="787" alt="nearest"
src="https://github.com/user-attachments/assets/bc044bae-1748-42ba-92b5-0500c87264f6">
With tiling need to use nearest filtering to avoid bleeding between the
slices.

---------

Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-09-04 19:31:41 +00:00
..
mod.rs Ignore clicks on uinodes outside of rounded corners (#14957) 2024-09-03 12:38:59 +00:00
pipeline.rs Add border radius to UI nodes (adopted) (#12500) 2024-03-19 22:44:00 +00:00
render_pass.rs Don't ignore draw errors (#13240) 2024-07-22 19:22:30 +00:00
ui_material_pipeline.rs Refactor AsBindGroup to use a associated SystemParam. (#14909) 2024-08-25 20:16:34 +00:00
ui_material.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
ui_texture_slice_pipeline.rs UI texture slice texture flipping reimplementation (#15034) 2024-09-04 19:31:41 +00:00
ui_texture_slice.wgsl UI texture atlas slice shader (#14990) 2024-09-02 23:03:58 +00:00
ui_vertex_output.wgsl Include UI node size in the vertex inputs for UiMaterial. (#11722) 2024-02-06 16:15:09 +00:00
ui.wgsl Fix a few "repeated word" typos (#13955) 2024-06-20 21:35:20 +00:00