You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// A WebGPU drawing context for a specific <typeparamref name="TPixel"/> that owns the drawing backend and device handles used to create frames, canvases, and render targets.
10
-
/// Use this type when you already own the device and queue, or when you want direct control over how ImageSharp.Drawing wraps external WebGPU textures.
9
+
/// Binds ImageSharp.Drawing's WebGPU backend to an externally-owned device and queue.
10
+
/// Use <see cref="CreateCanvas(nint, nint, WebGPUTextureFormatId, int, int, DrawingOptions)"/> to render into a
11
+
/// host-supplied texture (typically a swap-chain back buffer for UI-framework embedding), or
12
+
/// <see cref="CreateRenderTarget(int, int)"/> to allocate an offscreen target on the same device.
/// A WebGPU-backed window that provides a <see cref="DrawingCanvas{TPixel}"/> for each frame.
17
-
/// Use <see cref="Run(Action{DrawingCanvas{TPixel}})"/> when you want the window to drive rendering for you, or <see cref="TryAcquireFrame(TimeSpan, out WebGPUWindowFrame{TPixel}?)"/> when you need to drive the frame loop yourself.
16
+
/// A self-contained WebGPU-backed window that owns the platform window, the WebGPU device and queue, the surface
17
+
/// and swap chain, and the per-frame texture acquire/present cycle, exposing a <see cref="DrawingCanvas{TPixel}"/>
18
+
/// for each frame. Use <see cref="Run(Action{DrawingCanvas{TPixel}})"/> to let the window drive rendering, or
19
+
/// <see cref="TryAcquireFrame(TimeSpan, out WebGPUWindowFrame{TPixel}?)"/> to drive the frame loop yourself.
0 commit comments