mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
This adds a new `Plugin` trait and new `input_hook` and `output_hook` plugin fns. Having a `Plugin` trait should make it easier to store state in the plugin and improve discoverability of possible plugin hooks. The old `on_begin_pass` and `on_end_pass` have been ported to use the new plugin trait, should we deprecate them?