saveFrame

open fun saveFrame(file: File)

Saves the EGL surface to a file.

Expects that this object's EGL surface is current.