For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias RenderContext

Shared draw state, created per render and updated as rendering proceeds. Corresponds to part of MapLibre Native's PaintParameters.

type RenderContext = {
    currentLayer: number;
    currentPass: RenderPass;
    depthRangeFor3D: DepthRangeType;
    isRenderingGlobe: boolean;
    isRenderingToTexture: boolean;
    opaquePassCutoff: number;
    projectionTransition: number;
    terrain: Terrain | null;
    transform: IReadonlyTransform;
}
Index

Properties

currentLayer: number
currentPass: RenderPass
depthRangeFor3D: DepthRangeType
isRenderingGlobe: boolean
isRenderingToTexture: boolean
opaquePassCutoff: number
projectionTransition: number
terrain: Terrain | null
Was this helpful?