GLDrawImage
Callable
Parameters
source: DrawSource
The image to render, or the URL to load it from
gl: WebGL2RenderingContext
The context we're drawing with
dstX: number
Position of the image on the X axis
dstY: number
Position of the image on the Y axis
optionaloptions: DrawOptions
Drawing options
optionaloffsetX: number = 0
Additional offset to add to the X axis (for blinking)
Returns void
- Nothing
Draws an image to a WebGLRenderingContext