根據我讀過模板測試的書籍是通過比較參考值與模板緩衝區對應像素的參考值來實現的,在其中一本書中它如何陳述:模板緩衝器和模板測試
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
在這個過程中有作用??