Creates a texture from an image source. If the source is not valid it creates an empty texture.
The source of the texture.
The width of the texture.
The height of the texture.
The scale mode to be used by the texture.
The WebGL Texture that was created, or
null if it couldn't be created.