setRenderCacheOptions

abstract fun setRenderCacheOptions(@NonNull options: RenderCacheOptions)

Enables or disables the experimental render cache feature. Render cache is an experimental feature aiming to reduce resource usage of map rendering by caching intermediate rendering results of tiles into specific cache textures for reuse between frames. Performance benefit of the cache depends on the style as not all layers are cacheable due to e.g. viewport aligned features. Render cache always prefers quality over performance.

Parameters

options

The `render cache options` defining the render cache behavior.