【原创】OpenglES画图元基础知识
2010-01-26 10:06
211 查看
Primitive Flag | Description |
GL_POINTS | A point is placed at each vertex. |
GL_LINES | A line is drawn for every pair of vertices that are given. |
GL_LINE_STRIP | A continuous set of lines are drawn. After the first vertex, a line is drawn between every successive vertex and the vertex before it. |
GL_LINE_LOOP | This is the same as GL_LINE_STRIP except that the start and end vertices are connected as well. |
GL_TRIANGLES | For every triplet of vertices, a triangle is drawn with corners specified by the coordinates of the vertices. |
GL_TRIANGLE_STRIP | After the first 2 vertices, every successive vertex uses the previous 2 vertices to draw a triangle. |
GL_TRIANGLE_FAN | After the first 2 vertices, every successive vertex uses the previous vertex and the first vertex to draw a triangle. This is used to draw cone-like shapes. |
相关文章推荐
- 后缀就扩展名为js的文件是什么文件[原创]_基础知识_脚本之家
- 实例总结C#反射基础知识[原创]
- javascript typeof id==='string'?document.getElementById(id):id解释[原创]_基础知识_脚本之家
- Java WEB开发实战 之 第一部分:复习必备的基础知识【私塾在线原创】
- 【原创】《矩阵的史诗级玩法》连载五:45度地图砖块所蕴含的矩阵基础知识(下)
- 【原创】《矩阵的史诗级玩法》连载四:45度地图砖块所蕴含的矩阵基础知识(上)
- 保存的js无法执行的解决办法[原创]_基础知识_脚本之家
- Java WEB开发实战 之 第二部分:Web应用基础知识【私塾在线原创】
- 【原创】git的相关基础知识笔记(一)
- Matlab--学习笔记(一)-基础知识-画图
- SpeedPHP学习教程第二篇——(基础知识,配置熟悉及......)(原创连载三)
- CGContext的画图基础知识
- OpenglES 3.0基础知识
- opengles数据类型和基础知识
- 【原创】C程序设计语言(2版KR) - C语言基础知识(2) 分类: Linux --- C 2014-11-21 19:21 85人阅读 评论(0) 收藏
- 【引用】〔原创〕Ubuntu Linux 新手入门级基础知识须知
- [ios][opengles]OpenGL ES基础知识简介
- rfid理论基础知识要点(很少画图,有点渣)
- [原创][PowerShell教程][02]PowerShell基础知识之一
- 【原创】C程序设计语言(2版KR) - C语言基础知识(1) 分类: Linux --- C 2014-11-21 16:16 73人阅读 评论(0) 收藏