Renderer · const

GPU_DRIVEN_LISTS

The frame's four draw lists, each counted by the clusters it drew: phase one (what was visible last frame and still is), phase two (what the pyramid found newly visible), the blended half, and the light's map.

Explained in Hello world.

const GPU_DRIVEN_LISTS: readonly ['phaseOne', 'phaseTwo', 'blend', 'shadow']
import { GPU_DRIVEN_LISTS } from '@driftengine/core';

In depth

The occlusion cull's own figure. A cluster the cull kept is one instance of its list's indirect draw, so the second word of each list's arguments is that list's count — the number a city in a street and above its roofs is there to show. Read back only where countDrawn asks.