SubImage::GetTexture

SubImage::GetTexture
virtual Texture* GetTexture(TextureManager* pm);
Description

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
Parameters 
Description 
TextureManager* pm 
A pointer to the texture manager which will be used to display the texture. 
Return Value

A Texture pointer to the texture of the image.