本页内容

Qt3DRender::QTexture1D Class

class Qt3DRender::QTexture1D

一个采用 Target1D 目标格式的QAbstractTexture 。更多内容...

头文件: #include <Qt3DRender/QTexture>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
在 QML 中: Texture1D
继承自: Qt3DRender::QAbstractTexture
状态: 已弃用

该类已弃用。我们强烈建议不要在新代码中使用它。

公共函数

QTexture1D(Qt3DCore::QNode *parent = nullptr)

详细说明

成员函数文档

[explicit] QTexture1D::QTexture1D(Qt3DCore::QNode *parent = nullptr)

创建一个新的Qt3DRender::QTexture1D 实例,并将parent 作为其父对象。

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