In Texas foreclosure law permits either a mortgage
or deed of trust.
Lenders primarily use deed of trust and foreclose by trustee sale.
Much more information is available throughout this website, but for definitive advice ask a Texas lawyer.
If you are interested in reading the actual statutes relevant to mortgage and foreclosure in Texas those laws are available online
What are Texas' foreclosure laws?