Builtin Library
README.md
gui.captureElement
Render a specific UI element to a texture and save it as a JPG under /source/tmp, so you can read the file to see exactly how that element renders. It renders just the element (by its elementTree id) into a right-sized render texture — the same render-to-texture path a camera uses — reads it back, encodes JPG, writes it, and destroys the texture so nothing stays resident in GPU memory. Pair it with gui.elementTree to find element ids.