Renderer · type
PassContext
What it is handed each frame, at the point the caller asked for it.
Explained in Hello world.
type PassContext =import type { PassContext } from '@driftengine/core';In depth
On WebGL2 the framebuffer the frame is going into is already bound, so the context is the whole of it. On WebGPU the encoder is the pass, and it is the frame's own or the mirror's depending on where the caller invoked it — which is the caller's business and not this object's.