---
title: "CVPixelBufferPoolGetPixelBufferAttributes(_:)"
framework: corevideo
role: symbol
role_heading: Function
path: "corevideo/cvpixelbufferpoolgetpixelbufferattributes(_:)"
---

# CVPixelBufferPoolGetPixelBufferAttributes(_:)

The attributes of pixel buffers which the system creates using the pool you specify.

## Declaration

```swift
func CVPixelBufferPoolGetPixelBufferAttributes(_ pool: CVPixelBufferPool) -> CFDictionary?
```

## Parameters

- `pool`: The pixel buffer pool that contains the attributes to retrieve.

## Return Value

Return Value A Core Foundation dictionary containing the pool attributes, or nil if the function fails.

## Discussion

Discussion Use this function to obtain information about the pixel buffers which the system creates using the pool you specify, before the system creates those pixel buffers.

## See Also

### Inspecting pools

- [CVPixelBufferPoolGetAttributes(_:)](corevideo/cvpixelbufferpoolgetattributes(_:).md)
- [CVPixelBufferPoolGetTypeID()](corevideo/cvpixelbufferpoolgettypeid().md)
