GLDrawImage
Callable
Parameters
url: string
URL of the image to render
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
options: DrawOptions
Drawing options
optionaloffsetX: number = 0
Additional offset to add to the X axis (for blinking)
Returns void
- Nothing
Draws an image from a given url to a WebGLRenderingContext