QBackendNodeMapper 类

class Qt3DCore ::QBackendNodeMapper

创建后端节点并映射到它们各自的前端节点。 更多...

头: #include <Qt3DCore/QBackendNodeMapper>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dcore)
target_link_libraries(mytarget PRIVATE Qt6::3dcore)
qmake: QT += 3dcore

公共函数

virtual Qt3DCore::QBackendNode * create (Qt3DCore::QNodeId id ) const = 0
virtual void destroy (Qt3DCore::QNodeId id ) const = 0
virtual Qt3DCore::QBackendNode * get (Qt3DCore::QNodeId id ) const = 0

详细描述

成员函数文档编制

[pure virtual] Qt3DCore::QBackendNode *QBackendNodeMapper:: create ( Qt3DCore::QNodeId id ) const

id

返回创建节点。

[pure virtual] void QBackendNodeMapper:: destroy ( Qt3DCore::QNodeId id ) const

Destroys the backend node for the given node id .

[pure virtual] Qt3DCore::QBackendNode *QBackendNodeMapper:: get ( Qt3DCore::QNodeId id ) const

Returns backend node for the given node id .