Package com.jogamp.nativewindow
Interface OffscreenLayerOption
- All Known Implementing Classes:
JAWTWindow
public interface OffscreenLayerOption
Handling requests for using an
OffscreenLayerSurface
within the implementation.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the property set bysetShallUseOffscreenLayer(boolean)
.boolean
Returns true if this instance uses an offscreen layer, otherwise false.void
setShallUseOffscreenLayer
(boolean v) Request an offscreen layer, if supported.
-
Method Details
-
setShallUseOffscreenLayer
void setShallUseOffscreenLayer(boolean v) Request an offscreen layer, if supported.Shall be called before the first
NativeSurface.lockSurface()
, and hence before realization. -
getShallUseOffscreenLayer
boolean getShallUseOffscreenLayer()Returns the property set bysetShallUseOffscreenLayer(boolean)
. -
isOffscreenLayerSurfaceEnabled
boolean isOffscreenLayerSurfaceEnabled()Returns true if this instance uses an offscreen layer, otherwise false.This instance is an offscreen layer, if
The return value is undefined before issuing the firstsetShallUseOffscreenLayer(true)
has been called before it's realization and first lock and the underlying implementation supports it.NativeSurface.lockSurface()
.- See Also:
-