const gl = canvas.getContext(“webgl”);. 清除画布,并给画布声明颜色,但是不是涂上底色,涂上还需要加一步gl.clear(gl.COLOR_BUFFER_BIT);.
確定! 回上一頁