Member attributes: ColorChannelsOrderOfRGB565
The attribute ColorChannelsOrderOfRGB565 determines in which order the target system expects the color channels to be stored within the memory of an RGB565 pixel beginning with the least significant bit. The setting affects directly the format of how RGB565 bitmap resources are converted and stored in the generated code. However, it has an effect only when the related attribute ModeOfBitmapResources is configured with the value DirectAccess. Otherwise the setting of ColorChannelsOrderOfRGB565 is ignored.
A valid value for this attribute is composed of color channel names Red, Green and Blue separated by , (comma) signs. For example: the attribute value Blue,Green,Red determines, that the blue color channel is stored in the least significant bits of the pixel memory. Then follows the channel green. The red color channel, in turn, occupies the most significant bits.
Please note, this attribute configures the storage of the optional RGB565 bitmap format only. If you intend to modify this attribute, you will probably also need to edit the attribute ColorChannelsOrder to configure how the target system expects the NATIVE bitmap to be stored in the memory.
Modify the attribute
To inspect or modify the value of a ColorChannelsOrderOfRGB565 attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute:
Please note, the attribute can be hidden if the Platform Package selected in the particular profile member doesn't support the direct-access mode for generated bitmap data (see ModeOfBitmapResources) or the layout of how the RGB565 pixel data are stored in the target device is fixed and can't be configured.