CVOpenGLTextureGetTarget(_:)
Returns the texture target (for example, GL_TEXTURE_2D) of an OpenGL texture.
Declaration
func CVOpenGLTextureGetTarget(_ image: CVOpenGLTexture) -> GLenumParameters
- image:
The Core Video OpenGL texture whose target you want to obtain.
Return Value
The OpenGL texture target.
Discussion
See the OpenGL specification for more information about texture targets.