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_frame, Context::on_end_frame).

Functions

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