Contents

kCVMetalTextureCacheMaximumTextureAgeKey

The length of time, in seconds, before the cache is automatically evicted.

Declaration

let kCVMetalTextureCacheMaximumTextureAgeKey: CFString

Discussion

The default value is 1. To disable the age-out mechanism completely, set a maximum texture age of 0. The cache can be manually evicted with CVMetalTextureCacheFlush(_:_:).

See Also

Constants