QQuick3DExtensionHelpers Class

Helper functions for the Extensions APIs. More...

Header: #include <QQuick3DExtensionHelpers>
Since: Qt 6.6

Static Public Members

QSSGCameraId getCameraId(const QQuick3DObject &camera)
QSSGNodeId getNodeId(const QQuick3DObject &node)
QSSGRenderGraphObject::Type getNodeIdType(QSSGNodeId nodeId)
QSSGResourceId getResourceId(const QQuick3DObject &resource)

Detailed Description

Member Function Documentation

[static] QSSGCameraId QQuick3DExtensionHelpers::getCameraId(const QQuick3DObject &camera)

Returns a QSSGCameraId that can be used to retrieve the corresponding camera object in the engine.

[static] QSSGNodeId QQuick3DExtensionHelpers::getNodeId(const QQuick3DObject &node)

Returns a QSSGNodeId that can be used to retrieve the object in the engine corresponding to node.

[static] QSSGRenderGraphObject::Type QQuick3DExtensionHelpers::getNodeIdType(QSSGNodeId nodeId)

Returns the type of the node with the given nodeId.

This function is useful to determine the type of a nodeId.

See also QSSGRenderGraphObject::Type.

[static] QSSGResourceId QQuick3DExtensionHelpers::getResourceId(const QQuick3DObject &resource)

Returns a QSSGResourceId that can be used to retrieve the corresponding resource object in the engine.