简体   繁体   English

从顶点缓冲区句柄获取顶点

[英]get Vertices from Vertex Buffer Handle

Is it possible to somehow retrive the vertices of an object from the Vertex Buffer Handle ? 是否有可能以某种方式从顶点缓冲区句柄中检索对象的顶点? I'm using OpenGL. 我正在使用OpenGL。

If it is possible how is this done. 如果有可能如何完成。

In a desktop OpenGL application you can use glMapBuffer to retrieve a pointer to the vertices stored in a vbo. 在桌面OpenGL应用程序中,您可以使用glMapBuffer来检索指向存储在vbo中的顶点的指针。 However, this method is not required according to the ES 2.0 spec, section 2.9. 但是,根据ES 2.0规范第2.9节,不需要此方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM