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 ResourceReleaser<T>.) |
![]() | Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from ResourceReleaser<T>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Finalizes an instance of the ResourceReleaser<T> class.
(Inherited from ResourceReleaser<T>.) |
![]() | 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 ResourceReleaser<T>.) |
using (PixelMemoryLocker locker = new PixelMemoryLocker(myImage)) { PerformDirectMemoryAccess(myImage); }