AngleSwapChainPanel Class

Definition

A SwapChainPanel that wraps an ANGLE OpenGL ES context.

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

Constructors

AngleSwapChainPanel()

Creates a new instance of AngleSwapChainPanel.

Properties

BackingOption

Gets or sets the value for how the drawable surface retains its contents after displaying them.

ContentsScale

Gets or sets the scaling for the renderbuffer dimensions.

Context

Get or sets the ANGLE OpenGL ES context.

DepthFormat

Gets or sets the format of the depth renderbuffer.

DrawInBackground

Gets or sets a value indicating whether drawing occurs on a background thread, or the main UI thread

EnableRenderLoop

Gets or sets a value indicating whether to use a render loop, or on-demand rendering.

Multisampling

Gets or sets the format of the multisampling buffer.

StencilFormat

Gets or sets the format of the stencil renderbuffer.

Methods

Invalidate()

Invalidates the entire surface of the control and causes the control to be redrawn.

OnDestroyingContext()

Called when the GPU context is about to be destroyed.

OnRenderFrame(Rect)

Called to draw the current frame within the passed-in rectangle.

Applies to