pub fn from_window_entity(entity: Entity) -> Self {
        Self {
            entity_index: entity.index(),
            entity_generation: entity.generation(),
            render_target_type: EguiRenderTargetType::Window,
        }
    }
Creates a pass from a window Egui context.
src/render_systems.rs