Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 OpenGL ES 2.0 中,如果使用 glColorMask/glDepthMask 禁用对颜色缓冲区和深度缓冲区的写入(因为我只想更改模板缓冲区),则片段着色器无法写入任何缓冲区。我可以合理地假设在这种情况下不会执行片段着色器吗?