Package com.jogamp.nativewindow
Interface SurfaceUpdatedListener
-
- All Known Subinterfaces:
MutableSurface
,NativeSurface
,NativeWindow
,ProxySurface
- All Known Implementing Classes:
JAWTWindow
public interface SurfaceUpdatedListener
Clients may add their SurfaceUpdateListener implementation to aNativeSurface
allowing 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 void
surfaceUpdated(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
-
-