renderdoc_get_pixel_data
Retrieve pixel color values from specific coordinates in a texture for graphics debugging and analysis.
Instructions
Get pixel color data at a specific location in a texture.
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": {
"texture_id": "<texture_id>",
"x": "<x>",
"y": "<y>"
},
"name": "renderdoc_get_pixel_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texture_id | Yes | The resource ID of the texture. | |
| x | Yes | X coordinate of the pixel. | |
| y | Yes | Y coordinate of the pixel. | |
| mip | No | Mip level (default: 0). |