setOp method
Implementation
setOp(int stencilFail, int stencilZFail, int stencilZPass) {
if (currentStencilFail != stencilFail ||
currentStencilZFail != stencilZFail ||
currentStencilZPass != stencilZPass) {
gl.stencilOp(stencilFail, stencilZFail, stencilZPass);
currentStencilFail = stencilFail;
currentStencilZFail = stencilZFail;
currentStencilZPass = stencilZPass;
}
}