Texas has state preemption regarding firearm transport, ownership, registrations, licensing, private ownership, and transfer. Local governments have the ability to regulate the discharge of firearms. Any laws local governments pass can not interfere with state laws.
This law restricts any political subdivision of the state's ability to create firearm restrictions of their own. Most states have total preemption which means townships, counties, municipalities, etc. Can not create their own gun restrictions. Some states allow these areas to have preemption on certain things, such as the discharge of firearms. They may also be technically allowed to create firearm laws, but they must be identical in both restriction and penalty to the states law. Certain states have grandfathered in laws that were already in place before the state was preempted.