Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

Way-Fi 1.6.0

fun linkLayers(skipMissingLayers: Boolean = true, optimize: Boolean = false): Int

Links all the layers loaded so far. This operation will finalized the graph, which means that you will not be able to add any more layers after this operation. If not called before, this method will be called automatically when the source is added.

Return

The number of links created.

Parameters

skipMissingLayers

If false, an exception will be thrown if a layer referenced in a link is not found.

optimize

If true, the graph is optimized to reduce memory consumption, but this will prevent any subsequent changes to the arc costs between layers.