QTextureImageDataGenerator Class

class Qt3DRender::QTextureImageDataGenerator

QAbstractTextureImage 에 대한 텍스처 이미지 데이터를 제공합니다. 더 보기...

헤더: #include <QTextureImageDataGenerator>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
상속합니다: Qt3DCore::QAbstractFunctor
상태: Deprecated

공용 함수

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 을 다시 로드해야 하는지 여부를 나타내는 부울을 반환합니다.

관련 비회원

QTextureImageDataPtr

QTextureImageData 에 대한 공유 포인터.

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