glUniformMatrix4fv (gWorldLocation, 1, GL_TRUE, &World.m[0][0]);. 这是给第二个uniform变量赋值,它是一个4x4的矩阵。第一个参数是shader uniform ...
確定! 回上一頁