Add methods to bind to textures and upload data

r? @metajack