private void OnSampleCallback(PXCMCapture.Sample sample)
    {
        if (shuttingDown)
        {
            return;
        }

        UseTexturePlugin.CopyPXCImageToTexture(sample.color, m_texColorNative);
    }
 private void OnShutdownCallback()
 {
     shuttingDown = true;
     UseTexturePlugin.RealSenseShutdown();
 }