Added a setting to MaterialManager to not keep texture data in memory after uploading to video card