Expand description
Bit flags naming the groups of work [crate::ui_map::apply_style] (and the
update reconciler) derive from a Style. Each Style field belongs to
the group(s) whose output reads it (see [with_style_fields]); a delta
update ORs the groups of its touched fields into a StyleDirty mask so
the apply path can skip every group the delta provably didn’t affect.
Constants§
- BACKGROUND
BackgroundColor(readsbackground_color,opacity,filter).- BG_
GRADIENT BackgroundGradient(readsbackground_gradient,opacity).- BORDER_
COLOR BorderColor.- BORDER_
GRADIENT BorderGradient(readsborder_gradient,opacity).- BOX_
SHADOW BoxShadow.- CURSOR
NodeCursor(readscursor) — the per-node cursordrive_cursor_iconwrites onto the window’sCursorIconon hover.- FILTER
- The filter material (
apply_filterin the reconciler). - FOCUS_
POLICY FocusPolicy(alsoapply_button_focus_defaultin the reconciler).- GLOBAL_
Z_ INDEX GlobalZIndex.- LAYOUT
bevy_ui::Node(node_from_style): every layout field.- OUTLINE
Outline.- SCROLL_
TRANSITION ScrollTransitionInput(readstransition).- TEXT
- The resolved text style (
resolved_text_style:color,font_size,font_weight,font_family,line_height,letter_spacing,opacity) — includes the<text>re-propagation to inheriting spans. - TEXT_
LAYOUT TextLayout(text_layout:text_align,line_break).- TEXT_
SHADOW TextShadow(readstext_shadow,opacity).- TRANSFORM
UiTransform(readstransform).- TRANSITION
TransitionInput(TransitionInput::from_stylereadstransitionplus every transitioned channel:transform,opacity,background_color,width,height,max_width,max_height).- Z_INDEX
ZIndex.