setMask method

dynamic setMask(
  1. int stencilMask
)

Implementation

setMask(int stencilMask) {
  if (currentStencilMask != stencilMask && !locked) {
    gl.stencilMask(stencilMask);
    currentStencilMask = stencilMask;
  }
}