DepthCasterProgram

Common surface of the sightline depth casters: DirectionalDepthProgram writes true hardware depth (hardware depth-compare platforms), PackedDepthProgram packs depth into an RGBA8 color target (software-compare fallback). earth.worldwind.draw.DrawableSightline picks one per pass via earth.worldwind.draw.DrawContext.sightlineUsesPackedDepth.

Inheritors

Functions

Link copied to clipboard
abstract fun loadModelviewProjection(matrix: Matrix4)
Link copied to clipboard
abstract fun useProgram(dc: DrawContext): Boolean