imgui_set_window_layer
Set the render layer (z-order) of a window to control stacking order, with higher layer values rendering on top of other windows in the Dear ImGui UI.
Instructions
Set the render layer (z-order) of a window. Higher layers render on top.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"window": "<window>",
"layer": "<layer>"
},
"name": "imgui_set_window_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer value (higher = on top) | |
| window | Yes | Window identifier |