---
title: "CVOpenGLBufferPoolGetAttributes(_:)"
framework: Core Video
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: "corevideo/cvopenglbufferpoolgetattributes(_:)"
---

# CVOpenGLBufferPoolGetAttributes(_:)

Returns the pool attributes dictionary for an Open GL buffer pool.

## Declaration

```swift
func CVOpenGLBufferPoolGetAttributes(_ pool: CVOpenGLBufferPool) -> Unmanaged<CFDictionary>?
```

## Parameters

- `pool`: The OpenGL buffer pool containing the attributes to be retrieved.

## Return Value

Return Value The buffer-pool attributes Core Foundation dictionary, or NULL on failure.

## See Also

### Functions

- [CVOpenGLBufferPoolCreate(_:_:_:_:)](corevideo/cvopenglbufferpoolcreate(_:_:_:_:).md)
- [CVOpenGLBufferPoolCreateOpenGLBuffer(_:_:_:)](corevideo/cvopenglbufferpoolcreateopenglbuffer(_:_:_:).md)
- [CVOpenGLBufferPoolGetOpenGLBufferAttributes(_:)](corevideo/cvopenglbufferpoolgetopenglbufferattributes(_:).md)
- [CVOpenGLBufferPoolGetTypeID()](corevideo/cvopenglbufferpoolgettypeid().md)
