getGLStencilOp(state.getStencilOpFailFront()), // getGLStencilOp(state.getStencilOpFailFront()), //
applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 1); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps), getGLStencilOp(state.getStencilOpZPassFront(), caps), record, 1); applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 0); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps), getGLStencilOp(state.getStencilOpZPassFront(), caps), record, 0);
applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 1); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps), getGLStencilOp(state.getStencilOpZPassFront(), caps), record, 1); applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 0); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps), getGLStencilOp(state.getStencilOpZPassFront(), caps), record, 0);