Implemented texture storage functions.