The functions described below are available when the AppGrabber plugin is loaded.
If the plugin is loaded together with the engine, the HAS_APP_GRABBER definition is set.
This definition can be used, for example, to avoid errors if the plugin is not loaded: the code in which the plugin functions are executed can be wrapped around as follows:
// engine.grabber functions
Returns the value indicating whether the main GUI should be grabbed or not.
to grab the main GUI; otherwise, 0
Returns the height of the grabbed snapshot.
Height of the snapshot.
Returns the snapshot of the current viewport, which is grabbed by the AppGrabber plugin each frame.
Image which is the snapshot of the current viewport.
Returns the width of the grabbed snapshot.
Width of the snapshot.