Function

CVMetalTextureGetTexture(_:)

Returns the Metal texture object for the image buffer.

Declaration

func CVMetalTextureGetTexture(_ image: CVMetalTexture) -> MTLTexture?

Parameters

image

A CoreVideo Metal texture-based image buffer.

Return Value

The MTLTexture object corresponding to the image buffer.

See Also

Inspecting Textures

func CVMetalTextureIsFlipped(CVMetalTexture) -> Bool

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

func CVMetalTextureGetTypeID() -> CFTypeID

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