---
title: readOnlyPixelBuffer
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avrenderedcaptionimage/readonlypixelbuffer
---

# readOnlyPixelBuffer

A CVReadOnlyPixelBuffer that contains pixel data for the rendered caption

## Declaration

```swift
var readOnlyPixelBuffer: CVReadOnlyPixelBuffer { get }
```

## Discussion

Discussion The pixel format is fixed to kCVPixelFormatType_32BGRA defined in <CoreVideo/CVPixelBuffer.h>

## See Also

### Inspecting the image

- [pixelBuffer](avfoundation/avrenderedcaptionimage/pixelbuffer.md)
- [position](avfoundation/avrenderedcaptionimage/position.md)
