How to create and use VBOs in OpenGL ES 2
问题 I am looking for help with understanding VBOs. I have done a ton of research and have found tutorials on the subject, but they are still vague to me. I have a few questions: Where should a VBO be created, and how should I create one? I am currently using the code right below to initialize my vertex and index buffers: vertices = new float[] { p[0].x, p[0].y, 0.0f, p[1].x, p[1].y, 0.0f, p[2].x, p[2].y, 0.0f, p[3].x, p[3].y, 0.0f, }; // The order of vertex rendering for a quad indices = new