Skip to content

RenderLayer

Defined in: core/backend.ts:50

One named layer handed to a backend: GPU buffers + the vector view + optional clip.

buffers: GroupBuffers

Defined in: core/backend.ts:52


optional clipTo?: string

Defined in: core/backend.ts:55

Name of an earlier layer whose filled silhouette clips this one.


drawables: DrawableVector[]

Defined in: core/backend.ts:53


name: string

Defined in: core/backend.ts:51


optional sizeMode?: "world" | "screen"

Defined in: core/backend.ts:61

“world” (default): geometry scales with zoom. “screen”: constant pixel size — points and anchored glyphs keep a constant radius/size around their projected anchor, and strokes keep a constant pixel width about their world centerline. Applies to all geometry types.