FuncFramebufferRenderTarget Class
Definition
For simple cases when framebuffer is always available
public class FuncFramebufferRenderTarget
Constructors
| Name | Description |
|---|---|
| FuncFramebufferRenderTarget (2 overloads) | No summary available. |
FuncFramebufferRenderTarget overloads
FuncFramebufferRenderTarget Constructor
public FuncFramebufferRenderTarget(Avalonia.Platform.Surfaces.FuncFramebufferRenderTarget.LockFramebufferDelegate lockFramebuffer, bool retainsFrameContents)
Parameters
lockFramebuffer Avalonia.Platform.Surfaces.FuncFramebufferRenderTarget.LockFramebufferDelegate
retainsFrameContents bool
FuncFramebufferRenderTarget Constructor
public FuncFramebufferRenderTarget(Func<Avalonia.Platform.ILockedFramebuffer> lockFramebuffer)
Parameters
lockFramebuffer Func<Avalonia.Platform.ILockedFramebuffer>
Methods
Dispose Method
public void Dispose()
Lock Method
public Avalonia.Platform.ILockedFramebuffer Lock(Avalonia.Platform.IRenderTarget.RenderTargetSceneInfo sceneInfo, Avalonia.Platform.Surfaces.FramebufferLockProperties& properties)
Parameters
sceneInfo Avalonia.Platform.IRenderTarget.RenderTargetSceneInfo
properties Avalonia.Platform.Surfaces.FramebufferLockProperties&
Returns
Properties
| Name | Description |
|---|---|
| RetainsFrameContents | No summary available. |
RetainsFrameContents Property
public bool RetainsFrameContents { get; set; }