SightlineProgram

Terrain overlay pass of the sightline: re-rasterises the visible terrain tiles and outputs the visible/occluded tint from SightlineReceiverGlsl's depth-cube PCF — the same receiver GLSL that embedded receivers (3D tiles) splice into their own programs, so the overlay and embedded tints resolve identically. Vertices arrive tile-origin-relative; the per-tile sightlineLocalMatrix is loaded via loadSightlineLocalMatrix.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Indicates the approximate size of the OpenGL resources referenced by this GPU program.

Functions

Link copied to clipboard
Link copied to clipboard
open override fun loadSightlineDisabled()
Link copied to clipboard
open override fun loadSightlineEnabled(state: SightlineState, localMatrix: Matrix4)
Link copied to clipboard
Link copied to clipboard
open override fun release(dc: DrawContext)

Frees any resources associated with this instance. After this method returns the rendering resource is invalid, and any associated GL object is deleted.

Link copied to clipboard