Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The setStencilReference()
method of the GPURenderPassEncoder
interface sets the stencil reference value using during stencil tests with the "replace"
stencil operation (as set in the descriptor of the GPUDevice.createRenderPipeline()
method, in the properties defining the various stencil operations).