PixelMemoryLocker Class |
Namespace: Atalasoft.Imaging.Memory
The PixelMemoryLocker type exposes the following members.
| Name | Description | |
|---|---|---|
| PixelMemoryLocker(AtalaImage) | Constructs an object that will automatically lock and unlock the PixelMemory for the supplied AtalaImage.
| |
| PixelMemoryLocker(PixelMemory) | Constructs an object that will automatically lock and unlock the supplied PixelMemory. |
| Name | Description | |
|---|---|---|
| Dispose | Disposes the ResourceReleaser. (Inherited from ResourceReleaserT.) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from ResourceReleaserT.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Finalizes an instance of the ResourceReleaserT class.
(Inherited from ResourceReleaserT.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| mVal |
The backing field for the val parameter.
(Inherited from ResourceReleaserT.) |
using (PixelMemoryLocker locker = new PixelMemoryLocker(myImage)) { PerformDirectMemoryAccess(myImage); }