Function bevy_gizmos::end_gizmo_context

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

End this gizmo clearing context.

Pop the default gizmos context out of the Swap<Clear> gizmo storage.

This must be called before UpdateGizmoMeshes in the Last schedule.