openGL android 中的进度条
我正在努力在 Android 中使用 OpenGL 绘制进度条。有没有人可以建议一下。我已经能够使用 OpenGL 为条形图绘制静态图像。我想根据进度填充栏上的颜色。
我需要的是如何调整顶点缓冲区的大小以适应进度?我正在尝试采用两个不同的顶点缓冲区。一个用于绘制背景,另一个用于绘制进度。现在我想在进度缓冲区中填充颜色,其长度应取决于收到的数据。
I am working to draw progressbar using OpenGL in Android. Is there someone who can suggest. I have been able to draw static images for the bars using OpenGL. I want to fill the color on the bar depending upon the progress.
What I need is how to resize the vertices buffer for the progress? I am trying to take two different vertex buffers. one for drawing the background and other for the progress. Now I want to fill color in the progress buffer and its length should depend on the data recieved.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论