Constructors

Properties

drawOps: DrawOps

Active drawing operations (shader programs + draw routines).

Populated during init and returned to the pool during destroy.

Used internally, but made public to support diagnostics and testing.

gaussianSplats: GaussianSplatTechnique = null

3D Gaussian Splatting draw pass. Renders the MeshManager's splat batch after opaque geometry, depth-sorted + alpha-blended. Null until init.

infiniteGrid: InfiniteGridRenderer

Infinite ground grid renderer. Set InfiniteGridRenderer.enabled to true to activate.

skyRenderer: SkyRenderer

Sky/environment renderer.

Methods

  • Releases GL-backed resources when the WebGL context is lost.

    Runs while the context is still flagged lost, so the destroy() calls' gl.delete* operations are no-ops rather than errors issued against the later-restored context. The lazily-constructed subsystems (sky, grid, SAO/shadow pipelines, post-process chain) are nulled so init recreates them on restore; drawOps keeps its shared program pool and recompiles in webglContextRestored.

    Returns void