Function

CVMetalTextureGetTypeID()

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

Declaration

func CVMetalTextureGetTypeID() -> CFTypeID

Return Value

The Core Foundation type identifier for the CVMetalTextureRef type.

See Also

Inspecting Textures

func CVMetalTextureGetTexture(CVMetalTexture) -> MTLTexture?

Returns the Metal texture object for the image buffer.

func CVMetalTextureIsFlipped(CVMetalTexture) -> Bool

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

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