AngleSwapChainPanel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A SwapChainPanel that wraps an ANGLE OpenGL ES context.
public class AngleSwapChainPanel : Windows.UI.Xaml.Controls.SwapChainPanel
- Inheritance
-
Windows.UI.Xaml.Controls.SwapChainPanelAngleSwapChainPanel
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for