Skip to main content

mark_content_dirty

Function mark_content_dirty 

Source
pub fn mark_content_dirty(ec: &mut EntityCommands<'_>)
Expand description

Tap helper for EntityCommands call sites (style apply, op arms): queue a push of this entity into LayerContentDirt. Queued (not immediate) because the op-apply sites only hold EntityCommands; the push lands at the next command flush, well before the PostUpdate resolver. A missing resource (external app without the plugin) degrades to a no-op.