opengl 获取像素点颜色

gl.readPixels(display.width / 2,display.height / 2, 1, 1, gl.RGBA, gl.UNSIGNED_BYTE, 4)

你可能感兴趣的:(OPENGL)