OpenLayers draws neighbouring WebGL layers of the same class name on one canvas, so a layer that colors, corrects or blends what it drew would do it to the layers under it too. Such a layer gets a class name of its own, hence a canvas of its own; the others keep sharing one (a WebGL context fewer each).
Whether the layer can correct on the GPU (WebGL2 is available and the context is not lost right now).
The correction given in the options, or null.
Colors the corrected map with a color scale (pseudo-color): each pixel by its gray value, black at one end of the scale and white at the other. Meant for monochrome images (a SAR scene, one band); a colored image is colored by its luminance. Null shows the image as corrected. Done on the GPU after the correction, so a new scale only redraws the map; without WebGL2 the map is shown uncolored.
The color scale set with GpuCorrectedTileLayer.setColorScale, or null.
Sets how the layer is laid over the layers under it (CSS
mix-blend-mode of its canvas). With screen, two scenes in red and
in cyan show white where both are bright and their own color where only
one is: a two-date color composite, without resampling either.
The blend mode set with GpuCorrectedTileLayer.setBlendMode (normal by default).
The canvas the corrected map is shown on (for reading pixels in tests).
Frame state.
Target which the renderer may (but need not) use for rendering its content.
The rendered element.
ProtecteddisposeProtected
Extension point for disposable objects.
ol/layer/WebGLTilethat corrects the drawn map on the GPU with the pipeline of its EnhancedGeoTIFF source (created withcorrectTiles: false), or of itscorrectionover any other tile source. Without WebGL2 it draws the tiles as read.