Contents

CVOpenGLESTextureIsFlipped(_:)

Returns whether the image is flipped vertically or not.

Declaration

func CVOpenGLESTextureIsFlipped(_ image: CVOpenGLESTexture) -> Bool

Parameters

  • image:

    The OpenGLES texture-based image buffer whose orientation is desired.

Return Value

True if {0,0} represents the upper left of the texture; otherwise False if {0,0} represents the lower left of the texture.

See Also

Inspecting Textures