CVMetalTextureCache

A cache used to create and manage Metal texture objects.

Overview

A Core Video Metal texture cache creates and manages CVMetalTexture textures. You use a CVMetalTextureCache object to directly read from or write to GPU-based Core Video image buffers in rendering or GPU compute tasks that use the Metal framework. For example, you can use a Metal texture cache to present live output from a device’s camera in a 3D scene rendered with Metal.

Topics

Data Types

class CVMetalTextureCache

A reference to a Core Video Metal texture cache.

Constants

Cache Attributes

Attributes specifying texture cache behavior, used with the CVMetalTextureCacheCreate(_:_:_:_:_:) function.

See Also

Metal

CVMetalTexture

A texture-based image buffer that supplies source image data for use with the Metal framework.