---
title: CVMetalTextureGetTypeID()
framework: corevideo
role: symbol
role_heading: Function
path: corevideo/cvmetaltexturegettypeid()
---

# CVMetalTextureGetTypeID()

Returns the Core Foundation type identifier for a CoreVideo Metal texture-based image buffer.

## Declaration

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

## Return Value

Return Value The Core Foundation type identifier for the CVMetalTextureRef type.

## See Also

### Related Documentation

- [Metal Programming Guide](apple-archive/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/Introduction.md)
- [Metal](metal.md)

### Inspecting Textures

- [CVMetalTextureGetTexture(_:)](corevideo/cvmetaltexturegettexture(_:).md)
- [CVMetalTextureGetCleanTexCoords(_:_:_:_:_:)](corevideo/cvmetaltexturegetcleantexcoords(_:_:_:_:_:).md)
- [CVMetalTextureIsFlipped(_:)](corevideo/cvmetaltextureisflipped(_:).md)
