Attendees light candles to pay their respects to the victims of a shooting at Santa Fe High School that left several dead and injured in Santa Fe, Texas. Picture: Pu Ying Huang/Reuters

Santa Fe - The Houston Texans confirmed that star defensive end J.J. Watt will pay for the funerals of the 10 people killed in the shooting at Santa Fe High School on Friday morning.

Ten more people were wounded in the attack, which occurred when a 17-year-old armed with a shotgun and a revolver opened fire at the high school, which is roughly 30 miles from downtown Houston.

According to police officials, the suspect, Dimitrios Pagourtzis, is in custody and has been charged with capital murder.

Read: At least eight killed in Texas school shooting - sheriff

'Loner' in trench coat shoots and kills 10 at Texas school

"Absolutely horrific," Watt tweeted shortly after the tragedy occurred.

Flags fly at half mast outside the Galveston County Jail where current suspect Dimitrios Pagourtzis of the Santa Fe High School shooting sits without bond in Galveston, Texas. Picture: Pu Ying Huang/Reuters

The Texans also released a statement:

"On behalf of the Texans organization, we are saddened by the tragic events at Sante Fe High School this morning and extend our thoughts and heartfelt condolences to the victims, their families and all those affected. We are grateful for the brave first responders, law enforcement officials and medical personnel. The Texans family will continue to pray for our neighbors."

Students light candles during a vigil held after a shooting left several people dead at Santa Fe High School. Picture: Trish Badger/Reuters

Watt has been lauded for his charitable efforts in the last year. The 29-year-old raised over $37 million to help relief efforts after Hurricane Harvey devastated Houston and more of the southwest. He originally hoped to raise $200,000. For his work, Watt was selected as the NFL's Walter Payton Man of the Year in February and named to Time magazine's list of the 100 most influential people in April.

The Houston Rockets and Houston Astros also addressed the tragedy on Friday, with Rockets point guard Chris Paul telling reporters the playoffs are "minor compared to what those people are dealing with."