setTest method

dynamic setTest(
  1. dynamic depthTest
)

Implementation

setTest(depthTest) {
  if (depthTest) {
    enable(gl.DEPTH_TEST);
  } else {
    disable(gl.DEPTH_TEST);
  }
}