Function

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

func CVMetalTextureGetTexture(CVMetalTexture) -> MTLTexture?

Returns the Metal texture object for the image buffer.

func CVMetalTextureGetTypeID() -> CFTypeID

Returns the Core Foundation type identifier for a CoreVideo Metal texture-based image buffer.