pub struct Options {
pub tessellation_options: TessellationOptions,
pub screen_reader: bool,
pub preload_font_glyphs: bool,
/* private fields */
}Expand description
Some global options that you can read and write.
Fields§
§tessellation_options: TessellationOptionsControls the tessellator.
screen_reader: boolThis is a signal to any backend that we want the crate::PlatformOutput::events read out loud.
The only change to egui is that labels can be focused by pressing tab.
Screen readers is an experimental feature of egui, and not supported on all platforms.
eframe supports it only on web, using the web_screen_reader feature flag,
but you should consider using AccessKit instead,
which eframe supports.
preload_font_glyphs: boolIf true, the most common glyphs (ASCII) are pre-rendered to the texture atlas.
Only the fonts in Style::text_styles will be pre-cached.
This can lead to fewer texture operations, but may use up the texture atlas quicker
if you are changing Style::text_styles, of have a lot of text styles.