根据我读过模板测试的书籍是通过比较参考值与模板缓冲区对应像素的参考值来实现的,在其中一本书中它如何陈述:模板缓冲器和模板测试
A mask is bitwise AND-ed with the value in the stencil planes and with the reference value before the comparison is applied
在这里,我看到的第三参数,其是掩模,这是与模板缓冲区的掩模,或者它是由openGL的自身产生的另一个参数??
有人可以解释比较过程和values
在这个过程中有作用??