本页内容

Qt3DRender Namespace

包含用于实现 2D 和 3D 渲染的类。更多...

头文件: #include <qabstractlight.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
状态: 已弃用

此命名空间已弃用。我们强烈建议在新代码中不要使用它。

类型

函数

bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)

详细说明

类型文档

[alias] ParameterList

Qt3DRender::QParameter 参数列表。

QTextureImageDataPtr

指向QTextureImageData 的共享指针。

函数文档

bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)

如果 `reference ` 和 `sample ` 不相等,则返回 `true `。

bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)

如果reference 和sample 相等,则返回true 。

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