<!--
{
  "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/CVPixelBufferPadding",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "s:9CoreVideo20CVPixelBufferPaddingV"
  },
  "title" : "CVPixelBufferPadding"
}
-->

# CVPixelBufferPadding

Padding pixels around the CVPixelBuffer

```
@frozen struct CVPixelBufferPadding
```

## Topics

### Initializers

[`init(left: Int, right: Int, top: Int, bottom: Int)`](/documentation/CoreVideo/CVPixelBufferPadding/init(left:right:top:bottom:))

### Instance Properties

[`var bottom: Int`](/documentation/CoreVideo/CVPixelBufferPadding/bottom)

Pixel row padding at the bottom

[`var left: Int`](/documentation/CoreVideo/CVPixelBufferPadding/left)

Pixel column padding to the left

[`var right: Int`](/documentation/CoreVideo/CVPixelBufferPadding/right)

Pixel column padding to the right

[`var top: Int`](/documentation/CoreVideo/CVPixelBufferPadding/top)

Pixel row padding at the top

### Type Properties

[`static let zero: CVPixelBufferPadding`](/documentation/CoreVideo/CVPixelBufferPadding/zero)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Copyable`](/documentation/Swift/Copyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)