Table of Contents

Namespace SixLabors.ImageSharp.Drawing.Processing.Backends

Classes

CompositionSceneCommand

Base type for one draw-order command in a flush-scoped scene stream.

DefaultDrawingBackend

CPU backend that executes path coverage rasterization and brush composition directly against a CPU region.

DefaultDrawingBackendScene

Retained scene created by the CPU drawing backend.

DrawingBackendScene

Base type for retained drawing backend scenes.

LineSegmentCompositionSceneCommand

Scene command wrapper for explicit stroked line-segment commands.

MemoryCanvasFrame<TPixel>

Canvas frame backed by a Buffer2DRegion<T>.

NativeCanvasFrame<TPixel>

Canvas frame backed by a NativeSurface.

NativeSurface

Base type for backend-specific native drawing targets.

PathCompositionSceneCommand

Scene command wrapper for fill-path and layer-based composition commands.

PolylineCompositionSceneCommand

Scene command wrapper for explicit stroked polyline commands.

StrokePathCompositionSceneCommand

Scene command wrapper for stroked path commands.

WebGPUDrawingBackend

Pixel-format registration for composite session I/O.

WebGPUDrawingBackendScene

Retained scene created by the WebGPU drawing backend.

WebGPUEnvironment

Provides explicit support probes for the library-managed WebGPU environment. Use this type when you want to check availability or compute pipeline support before constructing WebGPU objects.

WebGPUEnvironmentOptions

Options for the library-managed WebGPU environment.

WebGPUExternalSurface

A WebGPU rendering surface bound to an externally-owned native host. Unlike WebGPUWindow, this type does not own a platform window; the host application owns the UI object, its lifecycle, and the drawable size notifications forwarded through Resize(Size).

WebGPUExternalSurfaceOptions

Options for creating a WebGPUExternalSurface.

WebGPURenderTarget

An offscreen WebGPU render target.

WebGPUSurfaceFrame

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.

WebGPUWindow

A self-contained WebGPU-backed window that owns the platform window, the WebGPU device and queue, the surface and swap chain, and the per-frame texture acquire/present cycle, exposing a DrawingCanvas for each frame. Use Run(Action<DrawingCanvas>) to let the window drive rendering, or TryAcquireFrame(out WebGPUSurfaceFrame?) to drive the frame loop yourself.

WebGPUWindowOptions

Options for creating a WebGPUWindow.

Structs

CompositionCommand

One normalized fill-path or layer-based composition command queued for backend execution.

DrawingCommandBatch

One prepared draw-order command batch consumed by a drawing backend.

RasterizerOptions

Immutable options used by rasterizers when scan-converting vector geometry.

StrokeLineSegmentCommand

One explicit stroked two-point line-segment command queued by the canvas batcher.

StrokePathCommand

One stroked path command queued by the canvas batcher.

StrokePolylineCommand

One explicit stroked open polyline command queued by the canvas batcher.

WebGPUSurfaceHost

Describes the externally-owned native drawable that a WebGPUExternalSurface should attach to. Use the factory method that matches the host toolkit or platform that owns the drawable surface.

Interfaces

ICanvasFrame<TPixel>

Per-frame destination for DrawingCanvas<TPixel>.

ICompositionSceneCommandVisitor

Visitor contract for one flush-scoped composition scene command.

IDrawingBackend

Defines the contract for creating and rendering retained drawing scenes for canvas targets.

Enums

CompositionCommandKind

Identifies the flush-time role carried by a CompositionCommand.

RasterizationMode

Describes whether rasterizers should emit continuous coverage or binary aliased coverage.

RasterizerSamplingOrigin

Describes where sample coverage is aligned relative to destination pixels.

WebGPUEnvironmentError

Error codes returned by WebGPUEnvironment probe methods.

WebGPUErrorType

Error categories reported by the native WebGPU runtime.

WebGPUPowerPreference

Describes the adapter power preference requested for the library-managed WebGPU device.

WebGPUPresentMode

Presentation mode used by WebGPUWindow.

WebGPUTextureFormat

Supported texture format identifiers for native WebGPU targets.

WebGPUWindowBorder

Describes the window border around a WebGPUWindow.

WebGPUWindowState

Describes the startup or current state of a WebGPUWindow.