Copy image data to RAM for faster access.
The following is a list of possible values:
|The data is copied to RAM on startup. Although this enables faster access to data, it might use up your limited RAM.|
|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.|
|The data is not copied to RAM. Drawing an image to the screen from storage may result in reduced performance.|
If image data is compressed (QUL_COMPRESSION), the default value is
"OnDemand", otherwise it is
The CMake API maps to the following macros in the platform code:
These macros are platform-dependent. For example, asset preloading is not supported on some boards due to limited amount of RAM. Thus, the "OnDemand" mode is not supported on such boards. See the board-specific documentation pages for more information on asset handling.
Note: Source file properties must be set before adding files to the application using the
This property was introduced in Qt Quick Ultralite 1.1.
Available under certain Qt licenses.
Find out more.