在此步骤中,我们使用getContext()方法得到WebGL的渲染上下文对象。 ... Set the view port gl.viewport(0,0,canvas.width,canvas.height); // Draw the triangle gl.
確定! 回上一頁