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

Using the Context to Access the WebGL API

It is essential to note that all of the WebGL functions are accessed through the WebGL context. In our examples, the context is being held by the gl variable. Therefore, any call to the WebGL API will be performed using this variable.