public override void UnMap(uint mipmap) { // Copy data to internal image. // Unlock the internal image. internalImage.UnMap(mipmap); internalMipmapLocked.Dispose(); Monitor.Exit(syncRoot); }
public override void EndCPUAccess() { AssertNotDisposed(); AssertLocked(); mipmap.Dispose(); mipmap = null; Monitor.Exit(syncRoot); }