|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Interface specifying the offscreen layer surface protocol. More...
Public Member Functions | |
| void | attachSurfaceLayer (final long layerHandle) throws NativeWindowException |
| Attach the offscreen layer to this offscreen layer surface. More... | |
| void | detachSurfaceLayer () throws NativeWindowException |
| Detaches a previously attached offscreen layer from this offscreen layer surface. More... | |
| long | getAttachedSurfaceLayer () |
| Returns the attached surface layer or null if none is attached. More... | |
| boolean | isSurfaceLayerAttached () |
| Returns true if a surface layer is attached, otherwise false. More... | |
| void | setChosenCapabilities (CapabilitiesImmutable caps) |
| Sets the capabilities of this instance, allowing upstream API's to refine it, i.e. More... | |
| RecursiveLock | getLock () |
| Returns the recursive lock object of this surface, which synchronizes multithreaded access. More... | |
| boolean | setCursor (PixelRectangle pixelrect, PointImmutable hotSpot) |
| Optional method setting cursor in the corresponding on-screen surface/window, if exists. More... | |
| boolean | hideCursor () |
| Optional method hiding the cursor in the corresponding on-screen surface/window, if exists. More... | |
Interface specifying the offscreen layer surface protocol.
Definition at line 38 of file OffscreenLayerSurface.java.
| void com.jogamp.nativewindow.OffscreenLayerSurface.attachSurfaceLayer | ( | final long | layerHandle | ) | throws NativeWindowException |
Attach the offscreen layer to this offscreen layer surface.
Implementation may realize all required resources at this point.
| NativeWindowException | if isOffscreenLayerSurfaceEnabled() == false |
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| void com.jogamp.nativewindow.OffscreenLayerSurface.detachSurfaceLayer | ( | ) | throws NativeWindowException |
Detaches a previously attached offscreen layer from this offscreen layer surface.
| NativeWindowException | if isOffscreenLayerSurfaceEnabled() == false or no surface layer is attached. |
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| long com.jogamp.nativewindow.OffscreenLayerSurface.getAttachedSurfaceLayer | ( | ) |
Returns the attached surface layer or null if none is attached.
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| RecursiveLock com.jogamp.nativewindow.OffscreenLayerSurface.getLock | ( | ) |
Returns the recursive lock object of this surface, which synchronizes multithreaded access.
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| boolean com.jogamp.nativewindow.OffscreenLayerSurface.hideCursor | ( | ) |
Optional method hiding the cursor in the corresponding on-screen surface/window, if exists.
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| boolean com.jogamp.nativewindow.OffscreenLayerSurface.isSurfaceLayerAttached | ( | ) |
Returns true if a surface layer is attached, otherwise false.
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| void com.jogamp.nativewindow.OffscreenLayerSurface.setChosenCapabilities | ( | CapabilitiesImmutable | caps | ) |
Sets the capabilities of this instance, allowing upstream API's to refine it, i.e.
OpenGL related settings.
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.
| boolean com.jogamp.nativewindow.OffscreenLayerSurface.setCursor | ( | PixelRectangle | pixelrect, |
| PointImmutable | hotSpot | ||
| ) |
Optional method setting cursor in the corresponding on-screen surface/window, if exists.
| pixelrect | cursor pixels, maybe null for default cursor |
| hotSpot | maybe null for default cursor |
Implemented in com.jogamp.nativewindow.awt.JAWTWindow.