Edit

SKImageReadPixelsResult.GetPlaneData(Int32) Method

Definition

Gets a read-only view over the raw pixel data of the specified plane, including any per-row padding.

public ReadOnlySpan<byte> GetPlaneData(int planeIndex);

Parameters

planeIndex
Int32

The zero-based index of the plane.

Returns

A read-only span over the plane's pixel data, valid only for the duration of the callback.

Applies to