<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVOpenGLTextureIsFlipped(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@F@CVOpenGLTextureIsFlipped"
  },
  "title" : "CVOpenGLTextureIsFlipped(_:)"
}
-->

# CVOpenGLTextureIsFlipped(_:)

Determines whether an OpenGL texture is flipped vertically.

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

## Parameters

`image`

The Core Video OpenGL texture whose vertical orientation you want to determine.

## 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

Quartz assumes a lower-left origin.

---

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)