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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user