---
title: "CVOpenGLTextureIsFlipped(_:)"
framework: Core Video
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: "corevideo/cvopengltextureisflipped(_:)"
---

# CVOpenGLTextureIsFlipped(_:)

Determines whether an OpenGL texture is flipped vertically.

## Declaration

```swift
func CVOpenGLTextureIsFlipped(_ image: CVOpenGLTexture) -> Bool
```

## Parameters

- `image`: The Core Video OpenGL texture whose vertical orientation you want to determine.

## Return Value

Return Value Returns true if (0,0) in the texture is in the upper-left corner, and false if (0,0) is in the lower-left corner.

## Discussion

Discussion Quartz assumes a lower-left origin.

## See Also

### Inspecting Textures

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