Function WritableRasterView.planeCount

Number of logical planes/bands represented by this view.

size_t planeCount() const pure nothrow @nogc @property @safe;

Example

Example reading the plane count of the default writable view.

import raster;
WritableRasterView!ubyte view;
assert(view.planeCount == 0);