Are there swimming pool laws or ordinances in Texas and what are they regarding fences around residential pools?

Yes. Contact your local state, county health dept for a more indepth answer