WaylandView QML Type

출력에서 서페이스의 뷰를 나타냅니다. 자세히...

Import Statement: import QtWayland.Compositor
In C++: QWaylandView

속성

자세한 설명

웨이랜드뷰는 렌더링할 콘텐츠가 포함된 버퍼를 관리하는 특정 출력의 서피스 프레젠테이션에 해당합니다. 동일한 표면에 여러 개의 뷰를 가질 수 있습니다.

속성 문서

allowDiscardFrontBuffer : bool

기본적으로 뷰는 advance()가 호출될 때까지 현재 버퍼를 잠급니다. 이 프로퍼티를 true로 설정하면 기본 뷰가 더 이상 버퍼를 사용하지 않을 때 Qt가 버퍼를 해제할 수 있습니다.

이는 더 낮은 빈도로 업데이트되는 보조 뷰가 클라이언트 애플리케이션의 프레임 속도를 조절하는 상황을 피하는 데 사용할 수 있습니다.


bufferLocked : bool

이 속성은 뷰의 버퍼가 현재 잠겨 있는지 여부를 보유합니다. 버퍼가 잠겨 있으면 advance()는 다음 버퍼로 진행하지 않고 false 를 반환합니다.

기본값은 false 입니다.


output : WaylandOutput

이 속성은 이 뷰가 서페이스를 표시하는 출력을 보유합니다.


surface : WaylandSurface

이 프로퍼티는 이 뷰가 표시하는 표면을 보유합니다 WaylandView.


© 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.