egui

Module 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).

Functionsยง

  • Print this text next to the cursor at the end of the pass.