/// <summary> /// Release the unmanaged memory associated with this OclImage2D /// </summary> protected override void DisposeObject() { if (_ptr != IntPtr.Zero) { OclInvoke.oclImage2DRelease(ref _ptr); } }