ReadonlydepthStored when the stencil test passes and the depth test fails.
ReadonlyfailStored on stencil-test failure.
ReadonlyfuncThe comparison, (ref & readMask) OP (stored & readMask).
ReadonlypassStored when both tests pass.
ReadonlyreadThe bits the test looks at.
ReadonlywriteThe bits a write may change; 0 for a read-only test.
§67's stencil state as a pipeline bakes it (WP-R1.3) — §57's record minus
ref, which is a pass command on WebGPU (setStencilReference) and so stays out of pipeline identity: a mask writing bit 4 and one writing bit 1 share a pipeline and differ by one recorded pass command.Field values are the engine's §57 spellings, mapped to WebGPU's at creation (the module-private
STENCIL_COMPARESandSTENCIL_OPERATIONStables); the renderer builds the record with §57's documented defaults applied, so two draws under one clip record always produce one key.