![]() # Objective
Currently, UI is always rendered with anti-aliasing. This makes bevy's
UI completely unsuitable for art-styles that demands hard pixelated
edges, such as retro-style games.
## Solution
Add a component for disabling anti-aliasing in UI.
## Testing
In
[`examples/ui/button.rs`](
|
||
---|---|---|
.. | ||
mod.rs | ||
pipeline.rs | ||
render_pass.rs | ||
ui_material_pipeline.rs | ||
ui_material.wgsl | ||
ui_texture_slice_pipeline.rs | ||
ui_texture_slice.wgsl | ||
ui_vertex_output.wgsl | ||
ui.wgsl |