imgui_update_draw_command
Update a single draw command within a named ImGui draw layer by its index, modifying only the specified fields like color, position, or thickness without rebuilding the entire layer's command list.
Instructions
Update a single draw command in a named draw layer without replacing the entire layer. Specify the command index and the fields to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index of the draw command to update | |
| layer | No | Draw layer widget id (default: draw_list) | draw_list |
| fields | Yes | Fields to update on the draw command | |
| window | Yes | Target window id |