C

QUL_COPY_TO_RAM

Copy image data to RAM for faster access.

Description

The following values are valid:

ValueResult
"OnStartup"The data is copied to RAM on startup. Although this enables faster access to data, it might use up your limited RAM.
"OnDemand"The data is copied to the texture cache on demand. The texture cache must be enabled by setting QUL_TEXTURE_CACHE to its total size in bytes.
"Never"The data is not copied to RAM. Drawing an image to the screen from storage may result in reduced performance.

The default behavior is platform-dependent. See the board-specific documentation for details.

If image data is compressed (QUL_COMPRESSION), the default value is "OnDemand".

Note: Source file properties must be set before adding files to the application using the qul_add_resource function.

Since

This property was introduced in Qt Quick Ultralite 1.1.

See also Qt Quick Ultralite image caching, QUL_TEXTURE_CACHE, QUL_COMPRESSION, and Default Resource Properties.

Available under certain Qt licenses.
Find out more.