setStencilReference method

void setStencilReference(
  1. GPUStencilValue reference
)

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).

Implementation

external void setStencilReference(GPUStencilValue reference);