Added vertex stream conversion helper function.