Material modifications induced by laser annealing in two-dimensional structures