I'm currently learning WebGL -- and I am following a tutorial.
The tutorial is drawing a square on the screen. So, with a set of 4 vertices that have 3 coordinates (x, y, z) we have an item size of 3 and numItems is 4. Also, can one safely ignore the z coordinate? Will it default to 0?
Is there a case where item size will be bigger than 3? I mean... that would be a 4th dimension
Or, would the 4th item be a color alpha? I don't expect that it would as that's handled with shaders.
I also haven't been able to find documentation for WebGL. I read somewhere that WebGL is basically equivalent to OpenGL ES. Is this the case? Is the OpenGL ES documentation equivalent?