There are many factors involved in choosing glasses for basketball. For example, lenses, frame, coverage, padding, sports band, lenses color and prescription.
The material of the lenses is the most important factor in a goggle. Polycarbonate is known as the best one among the material. And high quality polycarbonate can sustain the impact of a ball or finger. 3mm polycarbonate is recommended as the ASTM safety standard.
The frame must be able to hold off the impact of a ball or finger. So, a frame made of polycarbonate is also the best choice and the best option is frames with ASTM F803 standard.
Still, the frame must cover the entire eye socket not only the eyeball. As for the padding, the frame should have padding at the temple points and bridge points to "cushion the blow". An elasticized band is needed to secure the frame, not by temple pieces. And you should also pay attention to the color. You should choose the color can absorb light. At last, the prescription is necessary to you.