<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVPixelBufferRepresentable/planeCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Video",
      "CoreVideo"
    ],
    "preciseIdentifier" : "s:9CoreVideo26CVPixelBufferRepresentablePAARi_zrlE10planeCountSivp"
  },
  "title" : "planeCount"
}
-->

# planeCount

Number of planes in this pixel buffer. This value will always be greater than 0. `planeCount` is more efficient to
access than count property of `planes`. A non-planar pixel buffer implicitly defines a single plane. To check if
the pixel buffer was defined with planes use [`isPlanar`](/documentation/CoreVideo/CVPixelBufferRepresentable/isPlanar) property.

```
var planeCount: Int { get }
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)