Function bevy_render::view::visibility::extract_visibility_ranges

source ·
pub fn extract_visibility_ranges(
    render_visibility_ranges: ResMut<'_, RenderVisibilityRanges>,
    visibility_ranges_query: Extract<'_, '_, Query<'_, '_, (Entity, &VisibilityRange)>>,
    changed_ranges_query: Extract<'_, '_, Query<'_, '_, Entity, Changed<VisibilityRange>>>
)
Expand description

Extracts all VisibilityRange components from the main world to the render world and inserts them into RenderVisibilityRanges.