Class WebGPUSurfaceFrame
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.WebGPU.dll
A single acquired drawable frame returned by a WebGPU surface. Use the Canvas to draw the frame contents, then dispose the frame to show it on screen.
public sealed class WebGPUSurfaceFrame : IDisposable
- Inheritance
-
WebGPUSurfaceFrame
- Implements
- Inherited Members
Properties
Canvas
Gets the drawing canvas for the acquired frame.
public DrawingCanvas Canvas { get; }
Property Value
Methods
Dispose()
Disposes the frame, rendering and presenting it, then releasing the per-frame WebGPU resources.
public void Dispose()