Byte alignment for texture data.


The texture data will be byte-aligned to the given number. It takes a number that is a power of 2 (1,2,4,8).


This property is accepted in any context where its parent node is accepted. It takes an integer.

Code example:

ImageFiles {
    MCU.Experimental.resourceAlignment: 128

Note: This property can also be applied to every image resource in the QmlProject file if defined in MCU.Config as follows:

MCU.Config {
    Experimental.resourceAlignment: 128


This property was introduced in QmlProject API 1.3 .

See also Qt Quick Ultralite Platform Porting Guide and QUL_RESOURCE_ALIGNMENT.

Available under certain Qt licenses.
Find out more.