Determines if any procedural texture needs to be rebuilt based on flags. Public because the editor script calls this as well.