- Real-Time 3D Graphics with WebGL 2
- Farhad Ghayour Diego Cantor
- 41字
- 2021-06-10 19:42:56
Rendering
Once we have defined our VBOs and we have mapped them to the corresponding vertex shader attributes, we are ready to render! To do this, we can use one of the two API functions: drawArrays or drawElements.