Contents

CVMetalTextureGetTexture(_:)

Returns the Metal texture object for the image buffer.

Declaration

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

Parameters

  • image:

    A CoreVideo Metal texture-based image buffer.

Return Value

The MTLTexture object corresponding to the image buffer.

See Also

Inspecting Textures