Creates a new WebGL Texture based on the given Canvas Element.
name | type | arguments | Default | description |
---|---|---|---|---|
srcCanvas | HTMLCanvasElement |
The Canvas to create the WebGL Texture from |
||
noRepeat | boolean | <optional> | false |
Should this canvas be allowed to set |
flipY | boolean | <optional> | false |
Should the WebGL Texture set |
The newly created WebGL Texture.