MemoryBufferImage::GetTexture

MemoryBufferImage::GetTexture
virtual Texture* GetTexture(TextureManager* pmanager);
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* pmanager 
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.