Package com.jogamp.nativewindow
Interface SurfaceUpdatedListener
-
- All Known Subinterfaces:
MutableSurface,NativeSurface,NativeWindow,ProxySurface,Window
- All Known Implementing Classes:
GLWindow,JAWTWindow
public interface SurfaceUpdatedListenerClients may add their SurfaceUpdateListener implementation to aNativeSurfaceallowing to get notified after the surface has been updated, eg. after a swap buffer operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsurfaceUpdated(Object updater, NativeSurface ns, long when)Notification of a surface update event, eg.
-
-
-
Method Detail
-
surfaceUpdated
void surfaceUpdated(Object updater, NativeSurface ns, long when)
Notification of a surface update event, eg. after a swap buffer operation.- Parameters:
updater- is the caller object who updated the surface, e.g. a JOGL GLDrawable.ns- the updated NativeSurfacewhen- the time in ms, when the surface was updated
-
-