deferPipelineBuilds property
Whether a draw that meets a state no pipeline was built in yet builds
it off the frame, through createRenderPipelineAsync, and is skipped
until it arrives — for one frame at most, after which it is built in
place (WebGpuPipelineCache.forDraw).
Null, the default, defers once this device has shown a frame (copyToCanvas). Before that nothing is on the screen to stutter, and a frame drawn once and read back — a golden, a thumbnail, a capture — would come back without the draws it met first; after it, a level that brings in a new material no longer stalls the frame that draws it first. True defers from the first frame and false never does.
Implementation
bool? deferPipelineBuilds;