---
title: bitsPerComponent
framework: corevideo
role: symbol
role_heading: Instance Property
path: corevideo/cvpixelformatdescription/pixellayout/bitspercomponent
---

# bitsPerComponent

The logical bit depth of each component of the plane.

## Declaration

```swift
var bitsPerComponent: Int?
```
