Port SunLight to TextureRead