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 a retained backend scene: the lowered, reusable form of a batch of drawing commands produced by CreateScene(Configuration, Rectangle, DrawingCommandBatch, IReadOnlyList<IDisposable>?) and later rendered into a target through RenderScene<TPixel>(Configuration, ICanvasFrame<TPixel>, DrawingBackendScene).
- 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
Opaque base type for a backend-specific native (non-CPU) drawing target, such as a GPU surface.
- 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.
- WebGPUBackdropAcrylicLayerEffect
Provides a shader-accelerated counterpart to BackdropAcrylicLayerEffect.
- WebGPUBackdropColorMatrixLayerEffect
Provides a shader-accelerated counterpart to BackdropColorMatrixLayerEffect.
- WebGPUBackdropDropShadowLayerEffect
Provides a shader-accelerated counterpart to BackdropDropShadowLayerEffect.
- WebGPUBackdropGaussianBlurLayerEffect
Provides a shader-accelerated counterpart to BackdropBlurLayerEffect.
- WebGPUBackdropShaderLayerEffect
Defines a backdrop effect with complete WGSL shader passes and an equivalent ImageSharp CPU fallback.
- WebGPUColorMatrixLayerEffect
Provides a shader-accelerated counterpart to ColorMatrixLayerEffect.
- WebGPUDeviceContext
Owns the WebGPU device-scoped drawing state shared by render targets, surfaces, shader programs, and pipelines.
- WebGPUDrawingBackend
Pixel-format registration for composite session I/O.
- WebGPUDrawingBackendScene
Retained scene created by the WebGPU drawing backend.
- WebGPUDropShadowLayerEffect
Provides a shader-accelerated counterpart to DropShadowLayerEffect.
- 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.
- WebGPUGaussianBlurLayerEffect
Provides a shader-accelerated counterpart to BlurLayerEffect.
- WebGPUGlowLayerEffect
Provides a shader-accelerated counterpart to GlowLayerEffect.
- WebGPUInnerShadowLayerEffect
Provides a shader-accelerated counterpart to InnerShadowLayerEffect.
- WebGPURenderTarget
An offscreen WebGPU render target.
- WebGPUShaderCompilationException
The exception thrown when a WebGPU layer-effect shader cannot be compiled.
- WebGPUShaderLayerEffect
Defines a layer effect with complete WGSL shader passes and an equivalent ImageSharp CPU fallback.
- WebGPUShaderUniformBuilder
Builds a set of named values for a WebGPUShaderUniformLayout.
- WebGPUShaderUniformLayout
Describes the names, types, and fixed array lengths of values supplied to a WebGPU layer-effect shader.
- WebGPUShaderUniforms
Contains an immutable snapshot of values supplied to a WebGPU layer-effect shader.
- 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.
- WebGPUSurfaceSession
Provides shared WebGPU resources for a group of external presentation surfaces.
- 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.
- WebGPUShaderDiagnostic
Describes one message produced while compiling a WebGPU layer-effect shader.
- WebGPUShaderUniform
Describes one named value or fixed-size array supplied to a WebGPU layer-effect shader.
- 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>
A render destination for DrawingCanvas<TPixel>. Implementations back the canvas with either a CPU-accessible pixel region or an opaque native surface; a usable frame must expose at least one of the two.
- ICompositionSceneCommandVisitor
Visitor contract for one flush-scoped composition scene command.
- IDrawingBackend
Defines the contract a drawing backend implements to turn recorded canvas commands into pixels: creating retained scenes from command batches, rendering those scenes into a canvas frame, and transferring pixels between frames (copy and readback).
- IWebGPUShaderEffect
Identifies a layer effect that supplies a native WebGPU implementation and a CPU fallback.
Enums
- CompositionCommandKind
Identifies the flush-time role carried by a CompositionCommand.
- RasterizationMode
Describes whether rasterizers should emit continuous coverage or binary aliased coverage.
- WebGPUCompositeAlphaMode
Specifies how the native compositor interprets alpha in a WebGPU surface.
- 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.
- WebGPUShaderDiagnosticSeverity
Identifies the severity of a WebGPU shader compiler message.
- WebGPUShaderUniformType
Identifies a value type that can be supplied to a WebGPU layer-effect shader.
- 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.