WebGLTileBackend Class

Definition

The WebGL 2 tile backend for the browser viewer: tiles are drawn on the GPU (WebGLRenderer) and copied from its canvas into the viewer's tile canvases without reading the pixels back; a surface that reads pixels (a thumbnail, a PNG) gets them read back (AcceptsDevicePixels, #380). Select it with new ViewerOptions().UseBackend(WebGLTileBackend.Create) after awaiting InitializeAsync(); the software rasterizer (SoftwareTileBackend) stays the default. Pages or regions the GPU path does not draw fall back to the software rasterizer per tile, with a diagnostic (Diagnostics).

[SupportedOSPlatform("browser")]
public sealed class WebGLTileBackend : ITileBackend, IDisposable

Remarks

ISO 32000-2 §10.7.1 through the display list. The WebGL backend is opt-in and falls back to the software rasterizer.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (2)

Methods (4)