Module egui::debug_text
source ยท Expand description
This is an example of how to create a plugin for egui.
A plugin usually consist of a struct that holds some state,
which is stored using Context::data_mut
.
The plugin registers itself onto a specific Context
to get callbacks on certain events (Context::on_begin_pass
, Context::on_end_pass
).
Structsยง
Functionsยง
- Print this text next to the cursor at the end of the pass.
- register ๐Register this plugin on the given egui context, so that it will be called every pass.