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§
- BACKDROP
- The wire
backdropFilterchain →BackdropInput(the backdrop chain resolver’s and the backdrop transition channel’s target; seecrate::filters::backdrop). Composite-side only, like [Self::TRANSFORM3D]: a backdrop delta re-stages the snapshot filter run and reshapes nothing in the subtree — never content dirt. - BACKGROUND
BackgroundColor(readsbackground_color,opacity).- BG_
GRADIENT BackgroundGradient(readsbackground_gradient,opacity).- BG_
IMAGE ImageNodefrombackground_image(plus theopacityfold into its tint). Built at the reconcile call sites — the build needsAssetServer, whichapply_style_maskeddoesn’t hold — viacrate::background_image::apply_background_image; there is no arm for it insideapply_style_masked(the end-of-apply layer content-dirty tap still fires from this bit).- 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 wire
filterchain →FilterInput(the chain resolver’s and the transition filter channel’s target; seecrate::filters). - FOCUS_
POLICY FocusPolicy(alsoapply_button_focus_defaultin the reconciler).- GLOBAL_
Z_ INDEX GlobalZIndex.- LAYER
- Layer-promotion inputs (
crate::layer): fields that change whether a subtree composites as a layer (opacity,group_alpha,cache,filter,transform3d). Noapply_styleoutput reads this group — it exists so a delta touching a promotion trigger is visible to the promotion evaluator. - LAYOUT
bevy_ui::Node(node_from_style): every layout field.- OUTLINE
Outline.- SCROLLBAR
ScrollbarConfig(readsscrollbar) — the visible scrollbar shell (crate::scrollbar) spawns/updates Bevy’s scrollbar widget from it. The field is also inLAYOUTbecause a gutter-positioned bar drivesNode.scrollbar_width(seenode_from_style).- 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).- TRANSFOR
M3D LayerTransform3d(readstransform3d) — the composite-time 3D transform on a promoted layer (crate::layer::transform3d). Never content dirt: matrix changes reshape the composite quad only.- TRANSITION
TransitionInput(TransitionInput::from_stylereadstransitionplus every transitioned channel:transform,opacity,background_color,width,height,max_width,max_height). The filter channel’s timing rides the spec here; its target isFilterInput(FILTER).- Z_INDEX
ZIndex.