interface IImagePlane (Niantic.ARDK.AR.IImagePlane)

Overview

Represents a plane of an IImageBuffer. More...

interface IImagePlane: IDisposable {
    // properties

    int BytesPerPixel;
    int BytesPerRow;
    NativeArray<byte> Data;
    int PixelHeight;
    int PixelWidth;
};

Detailed Documentation

Represents a plane of an IImageBuffer.

Properties

int BytesPerPixel

Returns the bytes per pixel of the current plane.

Also referred to as pixel-stride.

int BytesPerRow

Returns the bytes per row of the current plane.

Also referred to as row-stride.

NativeArray<byte> Data

Returns a native array of bytes of the current plane. Users are not supposed to modify this Data, yet it is returned as a basic array of bytes so Buffer.BlockCopy and similar operations can be used on it.