先前一直略過Direct3D的input layout與OpenGL的glVertexAttribPointer(), ... OpenGL兩個函式的index參數,和GLSL的layout(location)對應。
確定! 回上一頁