WaylandHardwareLayer QML Type
부모 WaylandQuickItem 가 렌더링에 하드웨어 레이어를 사용하도록 합니다. 더 보기...
Import Statement: | import QtWayland.Compositor |
Status: | Preliminary |
이 유형은 개발 중이며 변경될 수 있습니다.
속성
- stackingLevel : int
상세 설명
이 항목은 WaylandQuickItem 또는 파생물(예: ShellSurfaceItem 또는 유사)의 하위 항목이어야 합니다.
부모 WaylandQuickItem 의 표면은 QtQuick 씬 그래프를 사용하는 일반적인 방식이 아닌 하드웨어 특정 방식으로 그려집니다. 일부 플랫폼에서는 WaylandQuickItem 의 현재 버퍼와 씬 그래프를 별도의 단계에서 블렌딩할 수 있습니다. 이를 통해 클라이언트는 각 프레임마다 컴포저 씬 그래프를 완전히 다시 그리지 않고도 지속적으로 업데이트할 수 있습니다.
선호하는 하드웨어 레이어 통합은 QT_WAYLAND_HARDWARE_LAYER_INTEGRATION 환경 변수를 설정하여 재정의할 수 있습니다.
프로퍼티 문서
stackingLevel : int |
이 프로퍼티는 다른 하드웨어 레이어에 대한 이 하드웨어 레이어의 스택 레벨을 유지하며, 하드웨어 레이어를 정렬하는 데 사용할 수 있습니다. 즉, 레벨이 높은 레이어는 레벨이 낮은 레이어 위에 렌더링됩니다.
레벨이 0인 레이어는 컴포저 씬 그래프 위에 구현에 정의된 순서대로 그려집니다.
레벨이 0보다 낮은 레이어는 하드웨어 레이어 통합에서 지원되는 경우 컴포저 씬 그래프 아래에 그려집니다.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.