<!--
{
  "availability" : [
    "iOS: 5.0.0 - 12.0.0",
    "iPadOS: 5.0.0 - 12.0.0",
    "tvOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVOpenGLESTextureGetName(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@F@CVOpenGLESTextureGetName"
  },
  "title" : "CVOpenGLESTextureGetName(_:)"
}
-->

# CVOpenGLESTextureGetName(_:)

Returns the texture target name for a `CVOpenGLESTextureRef`.

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

## Parameters

`image`

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

## Return Value

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)