IRenderTarget Interface

Defines a render target

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[PrivateApiAttribute]
public interface IRenderTarget : IDisposable
Implements
IDisposable

Remarks

The interface used for obtaining drawing context from surfaces you can render on.

Properties

IsCorrupted Indicates if the render target is no longer usable and needs to be recreated

Methods

CreateDrawingContext(Boolean) Creates an IDrawingContextImpl for a rendering session.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)

See Also