Documentation
    Preparing search index...

    Function stencilStateFor

    • The four stencil members of a pipeline's depthStencil state, or nothing (see WgpuPipelineCache's #create) — a module function rather than a cache method since WP-R1.9, because the node pipeline store bakes the same §57 mapping into its own descriptors and two spellings of the module's STENCIL_COMPARES/STENCIL_OPERATIONS tables could drift.

      Parameters

      Returns {
          stencilBack?: GpuStencilFaceState;
          stencilFront?: GpuStencilFaceState;
          stencilReadMask?: number;
          stencilWriteMask?: number;
      }