Top Description Methods
com.jogamp.nativewindow

public Interface OffscreenLayerOption

Known Direct Implementers
com.jogamp.nativewindow.awt.JAWTWindow, com.jogamp.newt.awt.NewtCanvasAWT, com.jogamp.opengl.awt.GLCanvas

Handling requests for using an OffscreenLayerSurface within the implementation.

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
isOffscreenLayerSurfaceEnabled()

Returns true if this instance uses an offscreen layer, otherwise false.

public void
setShallUseOffscreenLayer(boolean v)

Request an offscreen layer, if supported.

Method Detail

getShallUseOffscreenLayerback to summary
public boolean getShallUseOffscreenLayer()

Returns the property set by setShallUseOffscreenLayer(boolean).

isOffscreenLayerSurfaceEnabledback to summary
public boolean isOffscreenLayerSurfaceEnabled()

Returns true if this instance uses an offscreen layer, otherwise false.

This instance is an offscreen layer, if setShallUseOffscreenLayer(true) has been called before it's realization and first lock and the underlying implementation supports it.

The return value is undefined before issuing the first NativeWindow#lockSurface().
See Also
setShallUseOffscreenLayer(boolean)
setShallUseOffscreenLayerback to summary
public void setShallUseOffscreenLayer(boolean v)

Request an offscreen layer, if supported.

Shall be called before the first NativeWindow#lockSurface(), and hence before realization.

See Also
getShallUseOffscreenLayer(), isOffscreenLayerSurfaceEnabled()