QSGDynamicTexture Class
QSGDynamicTexture 클래스는 FBO에 렌더링되는 콘텐츠와 같이 텍스처를 동적으로 변경하기 위한 기본 클래스 역할을 합니다. 더 보기...
| 헤더: | #include <QSGDynamicTexture> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Quick) target_link_libraries(mytarget PRIVATE Qt6::Quick) |
| qmake: | QT += quick |
| 상속: | QSGTexture |
공개 함수
| QSGDynamicTexture() | |
| virtual bool | updateTexture() = 0 |
상세 설명
텍스처의 내용을 업데이트하려면 updateTexture()을 명시적으로 호출하십시오.
참고: QSG 접두사가 붙은모든 클래스는 오로지 씬 그래프의 렌더링 스레드에서만 사용해야 합니다. 자세한 내용은 씬 그래프 및 렌더링을 참조하십시오.
멤버 함수 문서
[noexcept default] QSGDynamicTexture::QSGDynamicTexture()
QSGDynamicTexture 의 인스턴스를 기본 생성합니다.
[pure virtual] bool QSGDynamicTexture::updateTexture()
동적 텍스처를 명시적으로 업데이트하려면 이 함수를 호출하십시오.
업데이트 결과 텍스처가 변경된 경우 이 함수는 true를 반환하고, 그렇지 않은 경우 false를 반환합니다.
참고: 이 함수는 일반적으로 QQuickItem::updatePaintNode() 또는 QSGNode::preprocess()에서 호출되며, 이는 시나그래프의 synchronization 또는 node preprocessing 단계에서 호출됨을 의미합니다. 이 외의 시점에 호출하는 것은 권장되지 않으며, 예기치 않은 동작을 유발할 수 있습니다.
© 2026 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.