Class Buffer2DExtensions
Defines extension methods for Buffer2D<T>.
Inherited Members
Namespace: SixLabors.ImageSharp.Memory
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class Buffer2DExtensions
Methods
| Edit this page View SourceGetMemoryGroup<T>(Buffer2D<T>)
Gets the backing IMemoryGroup<T>.
Declaration
public static IMemoryGroup<T> GetMemoryGroup<T>(this Buffer2D<T> buffer) where T : struct
Parameters
Type | Name | Description |
---|---|---|
Buffer2D<T> | buffer | The buffer. |
Returns
Type | Description |
---|---|
IMemoryGroup<T> | The MemoryGroup. |
Type Parameters
Name | Description |
---|---|
T | The element type. |