used vector instead of array, texture_data is now a reference