void Update() { if (webView.IsDirty()) { RenderBuffer rBuffer = webView.Render(); rBuffer.CopyToFloat(PixelsHandle.AddrOfPinnedObject()); texture.SetPixels(Pixels, 0); texture.Apply(); } }
void Update() { if (webView.IsDirty()) { RenderBuffer rBuffer = webView.Render(); rBuffer.CopyToFloat(PixelsHandle.AddrOfPinnedObject()); texture.SetPixels(Pixels, 0); texture.Apply(); } }