C
<rh850extras/rh850configuration.h> - Renesas RH850 Extras Configuration API
为Renesas 的RH850平台提供额外的配置功能。更多内容...
| Header: | #include <rh850extras/rh850configuration.h> |
是 rh850extras 的一部分。
功能
(since Qt Quick Ultralite (Platform) 2.1) Rh850::Configuration::LayerType | layerType(int layerIndex) |
(since Qt Quick Ultralite (Platform) 2.1) void | setLayerType(int layerIndex, Rh850::Configuration::LayerType layerType) |
函数文档
[since Qt Quick Ultralite (Platform) 2.1] Rh850::Configuration::LayerType layerType(int layerIndex)
获取给定硬件层的层类型。
layerIndex 的值应在0到3之间。
此函数首次引入于Qt Quick Ultralite (Platform) 2.1 版本。
另请参阅 setLayerType()。
[since Qt Quick Ultralite (Platform) 2.1] void setLayerType(int layerIndex, Rh850::Configuration::LayerType layerType)
将由layerIndex 标识的硬件层的层类型设置为layerType 。
例如,如果应用程序希望在最底层使用 RLE 图像,则应将层索引 0 的层类型设置为 LayerType::Rle:
Rle::Configuration::setLayerType(0, LayerType::Rle);
layerIndex 的值应在 0 到 3 之间。
注意:此 函数必须在调用 Qul::Application::setRootItem() 之前调用,才能生效。
该函数在Qt Quick Ultralite (Platform) 2.1 中引入。
另请参阅 layerType()。
在某些 Qt 许可证下可用。
了解更多信息。