---
title: planeCount
framework: corevideo
role: symbol
role_heading: Instance Property
path: corevideo/cvpixelbufferrepresentable/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 property.

## Declaration

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