First and foremost, Texas has some of the cheapest medical schools in the country. UTSW and Baylor are also top tier programs. The only reason to look elsewhere is if you could not get in to medical school in Texas. Some of my coresidents finished residency with 300K+ in debt, which is easy to do in a private or out of state medical school.
The most important factor in getting a job after graduation is connections. Many great jobs are made with connections outside of job postings.
In terms of "prestige," it matters more where you did residency or fellowship than where you went to medical school. Going to a more prestigious medical school can help you get in to a top ophthalmology residency, but not necessarily. You can go to a top medical school, perform poorly there, and have a hard time getting in to a good ophthalmology residency.
For a good case study, one of my coresidents went to a middle tier medical school in Texas, did his residency at a very strong ophthalmology program (maybe top 10 depending on who you ask), and is now in Retina fellowship at one of the best programs in the country.
It just goes to show its not where you start, but how you finish your medical training.