Real-Time 3D Graphics with WebGL 2
上QQ阅读APP看书,第一时间看更新

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.