Byte Engine Docs
Inspectorhttp

Capture a screenshot

GET/screenshots

Captures the final swapchain image for one renderer sink. To capture a named target immediately after a render pass, provide both pass and target. The request waits up to five seconds for a graphics frame to complete.

Query Parameters

sink*integer

Zero-based renderer sink index.

Range0 <= value
pass?string

Exact render-pass name. Requires target.

Length1 <= length
target?string

Exact written target name. Requires pass.

Length1 <= length

Response Body

image/png

text/plain

text/plain

text/plain

text/plain

text/plain

text/plain

curl -X GET "https://example.com/screenshots?sink=0&pass=visibility&target=color"
"string"