Android opengl modify vertex array after draw call

我们两清 提交于 2019-12-22 17:46:12

问题


In opengl, is it bad practice or not recommended to modify the vertex array after I have drawn it?


回答1:


It's not bad practice if you modify the vertex array when you draw it as ordinary vertex array.

It's bad practice to modify the vertex array if you use vertex buffer objects in your draw method. That's because you have to reupload it to your VRAM once it is edited.



来源:https://stackoverflow.com/questions/4703550/android-opengl-modify-vertex-array-after-draw-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!