glActiveTexture(GL_TEXTURE0 + index); glBindTexture(GL_TEXTURE_2D, texture); GLuint loc = glGetUniformLocation(program, ...
確定! 回上一頁