Contents

CVMetalTextureIsFlipped(_:)

Returns a Boolean value indicating whether the texture image is vertically flipped.

Declaration

func CVMetalTextureIsFlipped(_ image: CVMetalTexture) -> Bool

Parameters

  • image:

    A CoreVideo Metal texture-based image buffer.

Return Value

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

See Also

Inspecting Textures