load Texture
Load the texture according to the given path and set the texture key.
Parameters
key
the key for specifying the loaded texture.
path
the path stored the texture.
Load the texture according to the given path and set the texture key.
the key for specifying the loaded texture.
the path stored the texture.