Table of Contents

Struct RenderTargetProperties

Namespace
Avalonia.Platform
Assembly
Avalonia.Base.dll
[PrivateApi]
public struct RenderTargetProperties
Inherited Members

Properties

IsSuitableForDirectRendering

Indicates that the render target can be used without CreateLayer It's currently not true for every render target, since with OpenGL rendering we often use framebuffers without a stencil attachment that is required for clipping with Skia

public bool IsSuitableForDirectRendering { readonly get; init; }

Property Value

bool

RetainsPreviousFrameContents

Indicates that render target contents are preserved between CreateDrawingContext calls. Notable examples are retained CPU-memory framebuffers and swapchains with DXGI_SWAP_EFFECT_SEQUENTIAL/DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL

public bool RetainsPreviousFrameContents { readonly get; init; }

Property Value

bool