---
title: CVOpenGLBufferGetTypeID()
framework: Core Video
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: corevideo/cvopenglbuffergettypeid()
---

# CVOpenGLBufferGetTypeID()

Obtains the Core Foundation type ID for the OpenGL buffer type.

## Declaration

```swift
func CVOpenGLBufferGetTypeID() -> CFTypeID
```

## Return Value

Return Value The Core Foundation ID for this data type.

## See Also

### Functions

- [CVOpenGLBufferCreate(_:_:_:_:_:)](corevideo/cvopenglbuffercreate(_:_:_:_:_:).md)
- [CVOpenGLBufferAttach(_:_:_:_:_:)](corevideo/cvopenglbufferattach(_:_:_:_:_:).md)
- [CVOpenGLBufferGetAttributes(_:)](corevideo/cvopenglbuffergetattributes(_:).md)
