[Gfx2Texture] texture = gfx2.loadImageFromUrl(url, headers)
Loads a texture from a url, great for things that render images that changes
Note that while the texture is loading, drawing it will draw a gfx2.color() colored rectangle
Parameters
url
stringThe url to download the image from
[Optional] headers
stringHeaders if needed to get access to the image
Return Value
texture
Gfx2TextureThe texture that will be loaded from the web