numberOfPlanes
The number of separate planes into which the image data is organized.
Declaration
var numberOfPlanes: Int { get }Discussion
If the data has a separate plane for each component—that is, isPlanar is true—the value of this property is the number of samples per pixel. If the data is meshed, the value of this property is 1.