随笔分类 -  OpenGL

摘要:https://learnopengl-cn.github.io/01 Getting started/02 Creating a window/ 阅读全文
posted @ 2019-04-23 10:43 cicero 阅读(256) 评论(0) 推荐(0) 编辑
摘要:原文 https://blog.csdn.net/csxiaoshui/article/details/27543615 阅读全文
posted @ 2019-01-10 09:46 cicero 阅读(1292) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/crsky/p/7870835.html 阅读全文
posted @ 2019-01-08 19:25 cicero 阅读(679) 评论(0) 推荐(0) 编辑
摘要:代码如下 最后写一个窗口类继承 QOpenGLWidget 阅读全文
posted @ 2019-01-05 16:02 cicero 阅读(6671) 评论(0) 推荐(0) 编辑
摘要:直接上代码 阅读全文
posted @ 2019-01-05 15:58 cicero 阅读(4592) 评论(0) 推荐(0) 编辑
摘要:1. attribute变量为这个attribute变量指定一个位置(用无符号值表示):glBindAttribLocation利用这个“位置”来指定需要传给shader里的attribue变量的数据:glVertexAttribPointer 2.uniform变量 Uniform是一种从CPU中 阅读全文
posted @ 2019-01-01 16:08 cicero 阅读(854) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示