QUL_TEXTURE_CACHE

Set texture/image cache size.

描述

The maximum size of the image cache in bytes. A non-zero value allows for caching of images that are stored in slow flash (see QUL_COPY_TO_RAM ) or in compressed form (see QUL_COMPRESSION ). The cache size must be set to at least the size of the biggest cached image. Otherwise that image cannot fit into the cache.

注意: This variable must be set before calling qul_add_target() to add an executable target, which uses caching. Otherwise, it will not take effect.

Since

This variable was introduced in Qt Quick Ultralite 1.1.

另请参阅 Qt Quick Ultralite image caching , QUL_COPY_TO_RAM ,和 QUL_COMPRESSION .