随笔分类 - OpenGL
摘要:https://learnopengl-cn.github.io/01 Getting started/02 Creating a window/
阅读全文
摘要:原文 https://blog.csdn.net/csxiaoshui/article/details/27543615
阅读全文
摘要:https://www.cnblogs.com/crsky/p/7870835.html
阅读全文
摘要:代码如下 最后写一个窗口类继承 QOpenGLWidget
阅读全文
摘要:1. attribute变量为这个attribute变量指定一个位置(用无符号值表示):glBindAttribLocation利用这个“位置”来指定需要传给shader里的attribue变量的数据:glVertexAttribPointer 2.uniform变量 Uniform是一种从CPU中
阅读全文