コード例 #1
0
ファイル: DepthFrame.cs プロジェクト: Smoothstep/VRChat
 // Token: 0x0600291B RID: 10523 RVA: 0x000D3194 File Offset: 0x000D1594
 private void Dispose(bool disposing)
 {
     if (this._pNative == IntPtr.Zero)
     {
         return;
     }
     this.__EventCleanup();
     NativeObjectCache.RemoveObject <DepthFrame>(this._pNative);
     if (disposing)
     {
         DepthFrame.Windows_Kinect_DepthFrame_Dispose(this._pNative);
     }
     DepthFrame.Windows_Kinect_DepthFrame_ReleaseObject(ref this._pNative);
     this._pNative = IntPtr.Zero;
 }