IImage interface
Abstract interface for image resources.
public interface IImage : IDisposableMembers
Section titled “Members”| name | description |
|---|---|
| PixelHeight { get; } | Gets the height of the image in pixels. |
| PixelWidth { get; } | Gets the width of the image in pixels. |
| Size { get; } | Gets the size of the image. |
| TrySetPostReleaseCallback(…) | Asks the image to invoke callback once its backend GPU references have actually been released, not just when Dispose returns; returns true when the backend accepted the callback and false when the caller must run the equivalent cleanup itself after Dispose. |
Remarks
Section titled “Remarks”An image belongs to the factory that created it and is drawn only through that factory’s contexts; disposing it releases the backend resource.
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering