If recording is set to true, each frame the framebuffer/texture will be written to /tmp/output_*.png. This will impact performance; handle with care.
recording
Future setRecording(bool recording);