Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在opengl中,绘制后修改顶点数组是不好的做法还是不建议?
如果在将顶点数组绘制为普通顶点数组时修改顶点数组,这不是一个坏习惯。
如果在 draw 方法中使用顶点缓冲区对象,那么修改顶点数组是不好的做法。那是因为您必须在编辑后将其重新上传到 VRAM。