<!--
{
  "documentType" : "article",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVOpenGLESTextureCache-cache-attributes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Cache Attributes"
}
-->

# Cache Attributes

Attributes for the texture cache.

## Topics

### Constants

[`let kCVOpenGLESTextureCacheMaximumTextureAgeKey: CFString`](/documentation/CoreVideo/kCVOpenGLESTextureCacheMaximumTextureAgeKey)

By default, textures will age out after one second. Setting a maximum texture age of zero will disable the age-out mechanism completely. The [`CVOpenGLESTextureCacheFlush(_:_:)`](/documentation/CoreVideo/CVOpenGLESTextureCacheFlush(_:_:)) function can be used to force eviction in either case.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)