You do this with the texImage2D() function: gl.texImage2D( gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image ); The second parameter specifies the ...
確定! 回上一頁