sampler2d_to_html_canvas
sampler2d_to_html_canvas(sampler, [scale], [offset], [canvas]) ⇒ HTMLCanvasElement
Kind: global function
Returns: HTMLCanvasElement
- canvas
Param | Type | Description |
---|---|---|
sampler | Sampler2D | |
[scale] | Number | |
[offset] | Number | |
[canvas] | HTMLCanvasElement | if no canvas is supplied, a new one will be created |