QSGDynamicTexture Class

QSGDynamicTexture 클래스는 FBO에 렌더링되는 콘텐츠와 같이 동적으로 변경되는 텍스처를 위한 베이스 클래스 역할을 합니다. 더 보기...

Header: #include <QSGDynamicTexture>
CMake: find_package(Qt6 REQUIRED COMPONENTS Quick)
target_link_libraries(mytarget PRIVATE Qt6::Quick)
qmake: QT += quick
상속합니다: QSGTexture

공용 함수

virtual bool updateTexture() = 0

상세 설명

텍스처의 콘텐츠를 업데이트하려면 updateTexture()를 명시적으로 호출합니다.

참고: 접두사가 QSG인 모든 클래스는 씬 그래프의 렌더링 스레드에서만 사용해야 합니다. 자세한 내용은 씬 그래프 및 렌더링을 참조하십시오.

멤버 함수 문서

[pure virtual] bool QSGDynamicTexture::updateTexture()

동적 텍스처를 명시적으로 업데이트하려면 이 함수를 호출합니다.

이 함수는 업데이트 결과로 텍스처가 변경된 경우 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.

참고: 이 함수는 일반적으로 QQuickItem::updatePaintNode() 또는 QSGNode::preprocess()에서 호출되며, 이는 시나리오의 synchronization 또는 node preprocessing 단계 중에 호출됩니다. 다른 시간에 호출하는 것은 권장하지 않으며 예기치 않은 동작이 발생할 수 있습니다.

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