Added 1D texture functions