Package com.jogamp.nativewindow
Interface OffscreenLayerOption
-
- All Known Implementing Classes:
JAWTWindow
public interface OffscreenLayerOptionHandling requests for using anOffscreenLayerSurfacewithin the implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetShallUseOffscreenLayer()Returns the property set bysetShallUseOffscreenLayer(boolean).booleanisOffscreenLayerSurfaceEnabled()Returns true if this instance uses an offscreen layer, otherwise false.voidsetShallUseOffscreenLayer(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)
-
-