網上所提供的使用glReadPixels的方法基本準確,但是在3.x版本中,visit執行後不會立刻render,所以程式 ... readPixels(event.x, event.y, 1, 1, gl.
確定! 回上一頁