First version of texture access