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

# CVOpenGLBufferPoolGetOpenGLBufferAttributes(_:)

Returns the attributes of OpenGL buffers that will be created from a buffer pool.

## Declaration

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

## Parameters

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

## Return Value

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

## Discussion

Discussion You can use this function to obtain information about the OpenGL buffers that will be created from the buffer pool.

## See Also

### Functions

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