Takes a snapshot of an area from the current frame displayed by a WebGL canvas.
This is then copied to an Image object. When this loads, the results are sent to the callback provided in the Snapshot Configuration object.
The WebGL context to take a snapshot of.
The snapshot configuration object.
Takes a snapshot of an area from the current frame displayed by a WebGL canvas.
This is then copied to an Image object. When this loads, the results are sent to the callback provided in the Snapshot Configuration object.