Qt3DRender::QTextureImageDataGenerator Class
class Qt3DRender::QTextureImageDataGeneratorQAbstractTextureImage 에 대한 텍스처 이미지 데이터를 제공합니다. 더 보기...
| 헤더: | #include <qtextureimagedatagenerator.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 상속: | Qt3DCore::QAbstractFunctor |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않도록 강력히 권장합니다.
공개 함수
| virtual Qt3DRender::QTextureImageDataPtr | operator()() = 0 |
| virtual bool | operator==(const Qt3DRender::QTextureImageDataGenerator &other) const = 0 |
관련 비멤버
상세 설명
QTextureImageDataGenerator는 QAbstractTexture 를 위한 데이터 제공자입니다. QTextureImageDataGenerator를 사용하면 Qt3D에 텍스처 이미지 데이터를 불러오는 더 다양한 방법을 추가할 수 있을 뿐만 아니라, 사용자 정의 형식과 Qt3D가 기본적으로 지원하지 않는 형식도 지원할 수 있습니다. 데이터는 텍스처에 로드될 데이터를 포함하는 ` QTextureImageDataPtr `에 의해 반환됩니다. QTextureImageDataGenerator는 백엔드의 Aspect 작업에 의해 실행됩니다.
멤버 함수 문서
[pure virtual] Qt3DRender::QTextureImageDataPtr QTextureImageDataGenerator::operator()()
텍스처 이미지 데이터를 반환하는 메서드를 구현하십시오.
[pure virtual] bool QTextureImageDataGenerator::operator==(const Qt3DRender::QTextureImageDataGenerator &other) const
이 텍스처 데이터 생성기를 other 와 비교하는 메서드를 구현하십시오. QAbstractTextureImage 가 QTextureImageData 를 다시 불러와야 하는지 여부를 나타내는 부울 값을 반환합니다.
© 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.