Renderer · type
PassHandle
A registered pass, as the caller holds it.
Explained in Hello world.
type PassHandle = numberimport type { PassHandle } from '@driftengine/core';In depth
A slot and a generation packed into one number rather than a bare index, so a handle kept past
unregisterPass answers nothing instead of answering to whoever took the slot next. A package
that was torn down and goes on drawing reads as a leak and is a use-after-free.