GLDraw2DCanvas
Callable
Parameters
gl: WebGL2RenderingContext
WebGL context
Img: HTMLCanvasElement | HTMLImageElement
Canvas to get the data of
X: number
Position of the image on the X axis
Y: number
Position of the image on the Y axis
blinkOffset: number
Offset for the blink canvas
alphaMasks: readonly RectTuple[]
A list of alpha masks to apply to the asset
Returns void
Draws a canvas on the WebGL canvas