---
title: CVPixelFormatDescription.PixelLayout
framework: corevideo
role: symbol
role_heading: Structure
path: corevideo/cvpixelformatdescription/pixellayout
---

# CVPixelFormatDescription.PixelLayout

Defines pixel layout of a buffer plane or the entire buffer if the format is non-planar.

## Declaration

```swift
struct PixelLayout
```

## Overview

Overview Note: The value of fillExtendedPixels property is ignored when comparing two pixel layouts for equality.

## Topics

### Initializers

- [init(blockSize:bitsPerBlock:bitsPerComponent:blockAlignment:subsampling:blackBlock:fillExtendedPixels:cgBitmapInfo:)](corevideo/cvpixelformatdescription/pixellayout/init(blocksize:bitsperblock:bitspercomponent:blockalignment:subsampling:blackblock:fillextendedpixels:cgbitmapinfo:).md)

### Instance Properties

- [bitsPerBlock](corevideo/cvpixelformatdescription/pixellayout/bitsperblock.md)
- [bitsPerComponent](corevideo/cvpixelformatdescription/pixellayout/bitspercomponent.md)
- [blackBlock](corevideo/cvpixelformatdescription/pixellayout/blackblock.md)
- [blockAlignment](corevideo/cvpixelformatdescription/pixellayout/blockalignment.md)
- [blockSize](corevideo/cvpixelformatdescription/pixellayout/blocksize.md)
- [cgBitmapInfo](corevideo/cvpixelformatdescription/pixellayout/cgbitmapinfo.md)
- [fillExtendedPixels](corevideo/cvpixelformatdescription/pixellayout/fillextendedpixels.md)
- [subsampling](corevideo/cvpixelformatdescription/pixellayout/subsampling.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
