Updated TextureUtil.