1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Make Options::tessellation_options public

Closes https://github.com/emilk/egui/issues/644
This commit is contained in:
Emil Ernerfeldt
2021-08-25 21:39:00 +02:00
parent 31a1882997
commit c2d1034af3
2 changed files with 3 additions and 2 deletions

View File

@@ -238,7 +238,8 @@ pub struct TessellationOptions {
/// Size of a pixel in points, e.g. 0.5, or larger if you want more blurry edges.
pub aa_size: f32,
/// Anti-aliasing makes shapes appear smoother, but requires more triangles and is therefore slower.
/// By default this is enabled in release builds and disabled in debug builds.
/// This setting does not affect text.
/// Default: `true`.
pub anti_alias: bool,
/// If `true` (default) cull certain primitives before tessellating them
pub coarse_tessellation_culling: bool,