MCPcopy Create free account
hub / github.com/HumbleUI/JWM / attach

Method attach

shared/java/Layer.java:11–11  ·  view source on GitHub ↗

Attach window to the graphics layer for rendering. Must be called once for single window right after layer is created. If layer fails to attach window, this method throws LayerNotSupportedException. @param window window to attach

(Window window)

Source from the content-addressed store, hash-verified

9 * @param window window to attach
10 */
11 default void attach(Window window) {}
12
13 /**
14 * <p>Reconfigure layer for attached window.</p>

Implementers 4

LayerD3D12windows/java/LayerD3D12.java
LayerMetalmacos/java/LayerMetal.java
LayerRastershared/java/LayerRaster.java
LayerGLshared/java/LayerGL.java

Calls

no outgoing calls

Tested by

no test coverage detected