I agree with Floh on VAO usage, this is not as useful as it sounds :)
(caution: this is not to be confused with VBOs). However, if you really want some examples with VAOs, there is a few in the Emscripten test cases. Do a search for "glGenVertexArrays" in emscripten/test folder, you'll get results such as "cubegeom_pre_vao.c". Note that VAO are only really supported with WebGL2 (eg. compilation option "-s USE_WEBGL2=1"), as WebGL1 support will depend on an extension. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
