Function

CVMetalTextureGetTexture

Returns the Metal texture object for the image buffer.

Declaration

id<MTLTexture> CVMetalTextureGetTexture(CVMetalTextureRef image);

Parameters

image

A CoreVideo Metal texture-based image buffer.

Return Value

The MTLTexture object corresponding to the image buffer.

See Also

Inspecting Textures

CVMetalTextureGetCleanTexCoords

Returns convenient normalized texture coordinates for the part of the image that should be displayed.

CVMetalTextureIsFlipped

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

CVMetalTextureGetTypeID

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software