0
我在http://LearnOpenGL.com學習這些教程爲OpenGL
,我碰到這樣的功能glClear
(here在渲染標題)。科林我仍然在學習英文,我在這個功能中對世界「清楚」有麻煩。 (1)清除緩衝區是什麼意思?glClear [GL_COLOR_BUFFER_BIT,GL_DEPTH_BUFFER_BIT和GL_STENCIL_BUFFER_BIT]
(2)在下面這三個值中,「clear」這個詞的含義是什麼?
GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT
https://stackoverflow.com/questions/5479951/what-is-the-purpose-of-gl-color-buffer-bit-and-gl-depth-buffer-bit – Asesh