SKImageReadPixelsResult.GetPlaneData(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.