Back to Filament

resourceAllocatorCacheMaxAge

docs/android/dokka/filament-android/com.google.android.filament/-engine/-config/resource-allocator-cache-max-age.md

1.75.0649 B
Original Source

//filament-android/com.google.android.filament/Engine/Config/resourceAllocatorCacheMaxAge

resourceAllocatorCacheMaxAge

[main]
open var resourceAllocatorCacheMaxAge: Long

This value determines how many frames texture entries are kept for in the cache. This is a soft limit, meaning some texture older than this are allowed to stay in the cache. Typically only one texture is evicted per frame. The default is 1.