---
title: "CVOpenGLESTextureGetName(_:)"
framework: corevideo
role: symbol
role_heading: Function
path: "corevideo/cvopenglestexturegetname(_:)"
---

# CVOpenGLESTextureGetName(_:)

Returns the texture target name for a CVOpenGLESTextureRef.

## Declaration

```swift
func CVOpenGLESTextureGetName(_ image: CVOpenGLESTexture) -> GLuint
```

## Parameters

- `image`: The OpenGLES texture-based image buffer whose target name is desired.

## Return Value

Return Value An OpenGLES texture target name associated with the texture referenced by the image parameter.

## See Also

### Inspecting Textures

- [CVOpenGLESTextureGetTarget(_:)](corevideo/cvopenglestexturegettarget(_:).md)
- [CVOpenGLESTextureGetCleanTexCoords(_:_:_:_:_:)](corevideo/cvopenglestexturegetcleantexcoords(_:_:_:_:_:).md)
- [CVOpenGLESTextureIsFlipped(_:)](corevideo/cvopenglestextureisflipped(_:).md)
- [CVOpenGLESTextureGetTypeID()](corevideo/cvopenglestexturegettypeid().md)
