---
title: kIOSurfacePlaneBytesPerRow
framework: IOSurface
role: symbol
role_heading: Global Variable
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.1+, macOS 10.6+, tvOS 11.0+, visionOS 1.0+]
path: iosurface/kiosurfaceplanebytesperrow
---

# kIOSurfacePlaneBytesPerRow

The bytes per row of this plane.

## Declaration

```swift
let kIOSurfacePlaneBytesPerRow: CFString
```

## Discussion

Discussion If not specified, IOSurface will first calculate the number full elements required on each row (by rounding up), multiplied by the bytes per element for this plane. That value will then be appropriately aligned. This value is stored as a CFNumber.

## See Also

### Constants

- [kIOSurfaceAllocSize](iosurface/kiosurfaceallocsize.md)
- [kIOSurfaceBytesPerElement](iosurface/kiosurfacebytesperelement.md)
- [kIOSurfaceBytesPerRow](iosurface/kiosurfacebytesperrow.md)
- [kIOSurfaceCacheMode](iosurface/kiosurfacecachemode.md)
- [kIOSurfaceColorSpace](iosurface/kiosurfacecolorspace.md)
- [kIOSurfaceElementHeight](iosurface/kiosurfaceelementheight.md)
- [kIOSurfaceElementWidth](iosurface/kiosurfaceelementwidth.md)
- [kIOSurfaceHeight](iosurface/kiosurfaceheight.md)
- [kIOSurfaceICCProfile](iosurface/kiosurfaceiccprofile.md)
- [kIOSurfaceIsGlobal](iosurface/kiosurfaceisglobal.md)
- [kIOSurfaceName](iosurface/kiosurfacename.md)
- [kIOSurfaceOffset](iosurface/kiosurfaceoffset.md)
- [kIOSurfacePixelFormat](iosurface/kiosurfacepixelformat.md)
- [kIOSurfacePixelSizeCastingAllowed](iosurface/kiosurfacepixelsizecastingallowed.md)
- [kIOSurfacePlaneBase](iosurface/kiosurfaceplanebase.md)
