public void updateByTexture2D(Texture2D i_wtx) { System.Diagnostics.Debug.Assert(this._size.isEqualSize(i_wtx.width,i_wtx.height)); this._buf=i_wtx.GetPixels32(); this._rgb_pixel_driver.switchRaster(this); return; }