imgui_set_viewport_size
Resize the application viewport (SDL window) to specific pixel dimensions by providing width and height values, enabling precise control over the display area during UI design and iteration.
Instructions
Resize the application viewport (SDL window) to specific pixel dimensions
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": {
"width": "<width>",
"height": "<height>"
},
"name": "imgui_set_viewport_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Viewport width in pixels | |
| height | Yes | Viewport height in pixels |