Show / Hide Table of Contents

ProgressBar

Draws a progress bar on the screen. The amount to fill is based on the ratio passed to the static function.

Limitations

  • Currently right to left filling isn't supported yet
  • Vertical ProgressBars are also not supported yet
  • Radial fill is not supported yet

Example

ImGui.Label("ProgressBar Demo");
ImGui.ProgressBar(0.5f); // Will draw the label as a percent
ImGui.ProgressBar(3, 10); // Will draw the label as a fraction

progress bars percentage and fraction

  • Improve this Doc
In This Article
Back to top Generated by DocFX