setTest method

dynamic setTest(
  1. bool stencilTest
)

Implementation

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