Package com.jogamp.nativewindow
Interface OffscreenLayerOption
-
- All Known Implementing Classes:
JAWTWindow
public interface OffscreenLayerOption
Handling requests for using anOffscreenLayerSurface
within the implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getShallUseOffscreenLayer()
Returns the property set bysetShallUseOffscreenLayer(boolean)
.boolean
isOffscreenLayerSurfaceEnabled()
Returns true if this instance uses an offscreen layer, otherwise false.void
setShallUseOffscreenLayer(boolean v)
Request an offscreen layer, if supported.
-
-
-
Method Detail
-
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:
setShallUseOffscreenLayer(boolean)
-
-