Edit

AngleSwapChainPanel Class

Definition

A XAML SwapChainPanel that uses ANGLE to provide an OpenGL ES rendering context.

public class AngleSwapChainPanel : Microsoft.UI.Xaml.Controls.SwapChainPanel
Inheritance
Microsoft.UI.Xaml.Controls.SwapChainPanel
AngleSwapChainPanel
Derived

Remarks

This is the base class for SKSwapChainPanel and provides the OpenGL ES context management via ANGLE (Almost Native Graphics Layer Engine).

Constructors

Name Description
AngleSwapChainPanel()

Initializes a new instance of the AngleSwapChainPanel class.

Properties

Name Description
ContentsScale

Gets the scale factor applied to the contents of the panel.

DrawInBackground

Gets or sets a value indicating whether rendering should occur on a background thread.

EnableRenderLoop

Gets or sets a value indicating whether a continuous render loop is enabled.

Methods

Name Description
Invalidate()

Requests that the panel render a new frame.

OnDestroyingContext()

Called when the OpenGL ES context is being destroyed.

OnRenderFrame(Rect)

Called when a frame should be rendered.

Applies to