RaylibDiagnostics Module
Screen capture for the raylib backend.
Functions and values
| Function or value |
Description
|
Full Usage:
captureScreenshot path
Parameters:
string
-
The file path. A missing directory is created.
|
Saves the current frame buffer to a PNG file at the given path. Call this after the last draw call of the frame, so the frame is complete. The readback and the PNG encoding run on the calling thread, so expect one slow frame per capture.
|
Mibo