SKSwapChainPanel Class
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 can be drawn on using SkiaSharp drawing commands.
public class SKSwapChainPanel : SkiaSharp.Views.UWP.AngleSwapChainPanel
- Inheritance
SKSwap |
Creates a new instance of SKSwapChainPanel. |
Backing |
Gets or sets the value for how the drawable surface retains its contents after displaying them. (Inherited from AngleSwapChainPanel) |
Canvas |
Gets the current canvas size. |
Contents |
Gets or sets the scaling for the renderbuffer dimensions. (Inherited from AngleSwapChainPanel) |
Context |
Get or sets the ANGLE OpenGL ES context. (Inherited from AngleSwapChainPanel) |
Depth |
Gets or sets the format of the depth renderbuffer. (Inherited from AngleSwapChainPanel) |
Draw |
Gets or sets a value indicating whether drawing occurs on a background thread, or the main UI thread (Inherited from AngleSwapChainPanel) |
Enable |
Gets or sets a value indicating whether to use a render loop, or on-demand rendering. (Inherited from AngleSwapChainPanel) |
GRContext |
Gets the current GPU context. |
Multisampling |
Gets or sets the format of the multisampling buffer. (Inherited from AngleSwapChainPanel) |
Stencil |
Gets or sets the format of the stencil renderbuffer. (Inherited from AngleSwapChainPanel) |
Arrange |
Provides the behavior for the "Measure" pass of the layout cycle. Classes can override this method to define their own "Measure" pass behavior. |
Invalidate() |
Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from AngleSwapChainPanel) |
On |
Called when the GPU context is about to be destroyed. |
On |
Called when the GPU context is about to be destroyed. (Inherited from AngleSwapChainPanel) |
On |
Implement this to draw on the canvas. |
On |
Called to draw the current frame within the passed-in rectangle. |
Paint |
Occurs when the surface needs to be redrawn. |
Producto | Versiones |
---|---|
SkiaSharp Views | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
Comentarios de SkiaSharp
SkiaSharp es un proyecto de código abierto. Selecciona un vínculo para proporcionar comentarios: