- Real-Time 3D Graphics with WebGL 2
- Farhad Ghayour Diego Cantor
- 25字
- 2021-06-10 19:42:56
Unbinding a VBO
As a rule of thumb, we should unbind our buffers after we're done using them. We can do so with:
gl.bindBuffer(gl.ARRAY_BUFFER, null);.
As a rule of thumb, we should unbind our buffers after we're done using them. We can do so with:
gl.bindBuffer(gl.ARRAY_BUFFER, null);.