/// Called every frame. This is the "entry point" into the ultrasound rendering procedure. void Update() { string frameCountStr = string.Format("Frame {0}", Time.frameCount); OnionLogger.globalLog.PushInfoLayer(frameCountStr); textureSource.RenderNextFrameToTexture(ref texture); OnionLogger.globalLog.PopInfoLayer(); }