Class NativeSurface
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Opaque base type for a backend-specific native (non-CPU) drawing target, such as a GPU surface.
public abstract class NativeSurface
- Inheritance
-
NativeSurface
- Inherited Members
Remarks
A canvas frame exposes an instance through TryGetNativeSurface(out NativeSurface?). The concrete backend that owns the frame downcasts this to its own surface type; the base type carries no members because its contents are entirely backend-defined.
Constructors
NativeSurface()
Initializes a new instance of the NativeSurface class.
protected NativeSurface()