WaylandHardwareLayer QML Type
|Import Statement:||import QtWayland.Compositor 1.15|
- stackingLevel : int
The Surface of the parent WaylandQuickItem will be drawn in a hardware specific way instead of the regular way using the QtQuick scene graph. On some platforms, the WaylandQuickItem's current buffer and the scene graph can be blended in a separate step. This makes it possible for clients to update continuously without triggering a full redraw of the compositor scene graph for each frame.
The preferred hardware layer integration may be overridden by setting the QT_WAYLAND_HARDWARE_LAYER_INTEGRATION environment variable.
This property holds the stacking level of this hardware layer relative to other hardware layers, and can be used to sort hardware layers. I.e. a layer with a higher level is rendered on top of one with a lower level.
Layers with level 0 will be drawn in an implementation defined order on top of the compositor scene graph.
Layers with a level below 0 are drawn beneath the compositor scene graph, if supported by the hardware layer integration.