Function bevy::gizmos::start_gizmo_context

pub fn start_gizmo_context<Config, Clear>(
    swap: ResMut<'_, GizmoStorage<Config, Swap<Clear>>>,
    default: ResMut<'_, GizmoStorage<Config, ()>>
)
where Config: GizmoConfigGroup, Clear: 'static + Send + Sync,
Expand description

Start a new gizmo clearing context.

Internally this pushes the parent default context into a swap buffer. Gizmo contexts should be handled like a stack, so if you push a new context, you must pop the context before the parent context ends.