SurfaceOverlayProgram

Drapes a terrain tile's surface-shape texture onto arbitrary ground geometry (3D-Tile meshes). The vertex shader carries the position through a world→UV matrix composed in double precision on the CPU; the fragment shader samples the tile texture and discards fragments outside the tile sector.

Constructors

Link copied to clipboard
constructor()

Properties

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
fun loadUvMatrix(matrix: Matrix4)
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