karki
01/30/2020, 6:25 AMThis is an attempt to give a visual representation of most of WebGL’s internal state. WebGL is really just an API to run shaders. The only functions that actually effect pixels are,gl.clear
andgl.drawArrays
. That’s it! All other API calls just setup internal state for when those 3 functions are called.gl.drawElements
Duncan Cragg
01/30/2020, 9:11 AMDuncan Cragg
01/30/2020, 9:12 AMjust setup internal state😄
Ivan Reese