|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Engine widgets are reusable ImGui primitives for runtime UI and editor UI. Build the widget data, then call its draw function inside an active ImGui frame. Each widget page below gives a short overview; the full API lives in the linked documentation.
| Widget | What it is |
|---|---|
| Table | Draws a text table with fixed headers, proportional column widths, and clipped cell text |
Table renders a simple text table with fixed structure checks, proportional column widths, and clipped cell text. It is a thin helper around ImGui::BeginTable for leaderboards, scoreboards, and debug listings.
The first constructor argument is the ImGui table id and must be unique within the current ImGui scope. The header list fixes the column count.
Cell text is clipped to the table cell and does not wrap. Use shorter strings or pre-format cell content when wrapping is required.
Column widths are stored as fractions of the total table width. See the API documentation for the width-resolution rules and the assert conditions on setColumnWidth(), addRow(), and the other methods: