---
title: pixelBufferAttributes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayerlayer/pixelbufferattributes
---

# pixelBufferAttributes

The attributes of the visual output that displays in the player layer during playback.

## Declaration

```swift
var pixelBufferAttributes: [String : Any]? { get set }
```

## Discussion

Discussion Use this property to customize the format of the pixel buffers that the player layer vends.

## See Also

### Processing pixel buffers

- [displayedPixelBuffer()](avfoundation/avplayerlayer/displayedpixelbuffer().md)
- [displayedReadOnlyPixelBuffer()](avfoundation/avplayerlayer/displayedreadonlypixelbuffer().md)
