// Token: 0x0600299A RID: 10650 RVA: 0x000D46F6 File Offset: 0x000D2AF6 public void CopyFrameDataToIntPtr(IntPtr frameData, uint size) { if (this._pNative == IntPtr.Zero) { throw new ObjectDisposedException("LongExposureInfraredFrame"); } LongExposureInfraredFrame.Windows_Kinect_LongExposureInfraredFrame_CopyFrameDataToIntPtr(this._pNative, frameData, size / 2u); ExceptionHelper.CheckLastError(); }
// Token: 0x060029A9 RID: 10665 RVA: 0x000D4950 File Offset: 0x000D2D50 public void CopyFrameDataToArray(ushort[] frameData) { if (this._pNative == IntPtr.Zero) { throw new ObjectDisposedException("LongExposureInfraredFrame"); } SmartGCHandle smartGCHandle = new SmartGCHandle(GCHandle.Alloc(frameData, GCHandleType.Pinned)); IntPtr frameData2 = smartGCHandle.AddrOfPinnedObject(); LongExposureInfraredFrame.Windows_Kinect_LongExposureInfraredFrame_CopyFrameDataToArray(this._pNative, frameData2, frameData.Length); ExceptionHelper.CheckLastError(); }
// Token: 0x060029A1 RID: 10657 RVA: 0x000D47D8 File Offset: 0x000D2BD8 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <LongExposureInfraredFrame>(this._pNative); if (disposing) { LongExposureInfraredFrame.Windows_Kinect_LongExposureInfraredFrame_Dispose(this._pNative); } LongExposureInfraredFrame.Windows_Kinect_LongExposureInfraredFrame_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x0600299C RID: 10652 RVA: 0x000D472C File Offset: 0x000D2B2C public KinectBuffer LockImageBuffer() { if (this._pNative == IntPtr.Zero) { throw new ObjectDisposedException("LongExposureInfraredFrame"); } IntPtr intPtr = LongExposureInfraredFrame.Windows_Kinect_LongExposureInfraredFrame_LockImageBuffer(this._pNative); ExceptionHelper.CheckLastError(); if (intPtr == IntPtr.Zero) { return(null); } return(NativeObjectCache.CreateOrGetObject <KinectBuffer>(intPtr, (IntPtr n) => new KinectBuffer(n))); }
// Token: 0x06002998 RID: 10648 RVA: 0x000D46DC File Offset: 0x000D2ADC internal LongExposureInfraredFrame(IntPtr pNative) { this._pNative = pNative; LongExposureInfraredFrame.Windows_Kinect_LongExposureInfraredFrame_AddRefObject(ref this._pNative); }