virtual Texture* GetTexture(TextureManager* pmanager);
GetTexture obtains the texture pointer from the data, intended for use with a given renderer. This method can internally load and create the texture, if this has not been done yet.
Parameters |
Description |
TextureManager* pmanager |
A pointer to the texture manager which will be used to display the texture. |
A Texture pointer to the texture of the image.