Package org.xj3d.sai
Interface Xj3DScreenCaptureListener
public interface Xj3DScreenCaptureListener
Notification of Screen captures from the internals of Xj3D
This is the callback that is registered with the Xj3DBrowser
for
capturing screenshots. This will be called in a blocking fashion from the
browser. Time spent in this method will prevent the browser from executing
the next frame. In order to keep performance high end user code should
offload processing the values coming from this method to a separate thread.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification of a new screen capture presented as an image.
-
Method Details
-
screenCaptured
Notification of a new screen capture presented as an image. A new image instance will be generated for each frame.- Parameters:
img
- The screen captured image
-