You can download a existing texture from the texture memory.
Note: Before it checks the texture size, and format by gettextureprops.
texture: Id of texture.
surface: number of mipmap surface of texture
pointer: buffer of image of texture
sizelimt: buffer of image of texture