add setSubImageData to texture