Updates a WebGL Texture based on the given Canvas Element.
name | type | arguments | Default | description |
---|---|---|---|---|
srcCanvas | HTMLCanvasElement |
The Canvas to update the WebGL Texture from. |
||
dstTexture | WebGLTexture |
The destination WebGL Texture to update. |
||
flipY | boolean | <optional> | false |
Should the WebGL Texture set |
The updated WebGL Texture.