|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Clients may add their SurfaceUpdateListener implementation to a com.jogamp.nativewindow.NativeSurface allowing to get notified after the surface has been updated, eg.
More...
Public Member Functions | |
| void | surfaceUpdated (Object updater, NativeSurface ns, long when) |
| Notification of a surface update event, eg. More... | |
Clients may add their SurfaceUpdateListener implementation to a com.jogamp.nativewindow.NativeSurface allowing to get notified after the surface has been updated, eg.
after a swap buffer operation.
Definition at line 41 of file SurfaceUpdatedListener.java.
| void com.jogamp.nativewindow.SurfaceUpdatedListener.surfaceUpdated | ( | Object | updater, |
| NativeSurface | ns, | ||
| long | when | ||
| ) |
Notification of a surface update event, eg.
after a swap buffer operation.
| updater | is the caller object who updated the surface, e.g. a JOGL GLDrawable. |
| ns | the updated NativeSurface |
| when | the time in ms, when the surface was updated |
Implemented in com.jogamp.nativewindow.awt.JAWTWindow, com.jogamp.newt.opengl.GLWindow, and com.jogamp.opengl.test.junit.jogl.offscreen.Surface2File.