Qt3DRender::QShaderData Class
class Qt3DRender::QShaderDataUniform 블록이나 셰이더 구조체의 값을 지정하는 방법을 제공합니다. 더 보기...
| 헤더: | #include <Qt3DRender/QShaderData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 상속: | Qt3DCore::QComponent |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QShaderData(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::PropertyReaderInterfacePtr | propertyReader() const |
상세 설명
참고: QShaderData를 상속하여 서브클래스를 만들고 속성을 추가할때 , 내부 Qt3DRender::QShaderData 를 중첩해야 하는 경우, 속성의 데이터 유형은 서브클래스 이름이 아닌 Qt3DRender::QShaderData*이어야 합니다.
멤버 함수 문서
[explicit] QShaderData::QShaderData(Qt3DCore::QNode *parent = nullptr)
지정된 ` parent`를 사용하여 새로운 `QShaderData`를 생성합니다.
Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const
QShaderData::propertyReader는 이 셰이더 데이터에 대한 PropertyReaderInterfacePtr을 반환합니다.
© 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.