Skip to main content

sampler2d_to_html_canvas

sampler2d_to_html_canvas(sampler, [scale], [offset], [canvas]) ⇒ HTMLCanvasElement

Kind: global function
Returns: HTMLCanvasElement - canvas

ParamTypeDescription
samplerSampler2D
[scale]Number
[offset]Number
[canvas]HTMLCanvasElementif no canvas is supplied, a new one will be created