W3cubDocs

/Qt

QBackendNodeMapper Class

class Qt3DCore::QBackendNodeMapper

Creates and maps backend nodes to their respective frontend nodes. More...

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

Public Functions

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

Detailed Description

Member Function Documentation

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

id

Returns created node.

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

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3dcore-qbackendnodemapper.html