Capture a screenshot
GET
/screenshotsCaptures 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.
Range
0 <= valuepass?string
Exact render-pass name. Requires target.
Length
1 <= lengthtarget?string
Exact written target name. Requires pass.
Length
1 <= lengthResponse 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"