Creates a new Texture using the given source and dimensions.
The unique string-based key of the Texture.
The source Image element.
The width of the Texture.
The height of the Texture.
The Texture that was created, or
null if the key is already in use.