added some more texture access methods