setTest method

void setTest(
  1. bool stencilTest
)

Implementation

void setTest(bool stencilTest) {
  if (!locked) {
    if (stencilTest) {
      enable(WebGL.STENCIL_TEST);
    } else {
      disable(WebGL.STENCIL_TEST);
    }
  }
}