Describir: Suppressing material loss in the visible and near-infrared range for functional nanophotonics using bandgap engineering