setMask method

void setMask(
  1. int stencilMask
)

Implementation

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