QT+OpenGL几何着色器
输入布局限定符可以从顶点着色器接收下列任何一个图元值:
● points:绘制GL_POINTS图元时
● lines:绘制GL_LINES或GL_LINE_STRIP时
● lines_adjacency:GL_ADJACENCY或GL_LINESTRIP_ADJACENCY
● triangles:GL_TRIANGLES、GL_TRIANGLE_STRIP或GL_TRIANGLE_FAN
● triangles_adjacency:GL_TRIANGLES_ADJACENCY或GL_TRIANGLE_STRIP_ADJACENCY