Function from configurational degeneracy in disordered framework materials