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

# CVOpenGLTextureGetTypeID()

Obtains the Core Foundation ID for the Core Video OpenGL texture type.

## Declaration

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

## Return Value

Return Value The Core Foundation ID for this type.

## See Also

### Inspecting Textures

- [CVOpenGLTextureGetName(_:)](corevideo/cvopengltexturegetname(_:).md)
- [CVOpenGLTextureGetTarget(_:)](corevideo/cvopengltexturegettarget(_:).md)
- [CVOpenGLTextureGetCleanTexCoords(_:_:_:_:_:)](corevideo/cvopengltexturegetcleantexcoords(_:_:_:_:_:).md)
- [CVOpenGLTextureIsFlipped(_:)](corevideo/cvopengltextureisflipped(_:).md)
