void
GetAvailableMem(int &total,int &free,int &freetexture)
Ask the available memories.
total:
total available memory
free:
free available memory
freetexture:
the available memory for textures