Function OwnedRasterImportResult.planeIndex

Zero-based failing logical plane for invalidPlaneLayout.

ulong planeIndex() pure nothrow @property @nogc @safe const;

Returns size_t.max when the result is not associated with one specific plane.

Example

Example reading the failing-plane sentinel from the default result.

import raster;

OwnedRasterImportResult result;
assert(result.planeIndex == size_t.max);