<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVPixelBufferGetHeightOfPlane(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@F@CVPixelBufferGetHeightOfPlane"
  },
  "title" : "CVPixelBufferGetHeightOfPlane(_:_:)"
}
-->

# CVPixelBufferGetHeightOfPlane(_:_:)

Returns the height of the plane at planeIndex in the pixel buffer.

```
func CVPixelBufferGetHeightOfPlane(_ pixelBuffer: CVPixelBuffer, _ planeIndex: Int) -> Int
```

## Parameters

`pixelBuffer`

The pixel buffer whose plane height you want to obtain.

`planeIndex`

The index of the plane.

## Return Value

The height of the buffer, in pixels, or `0` for nonplanar pixel buffers.

## Discussion

---

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)