![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtQuick3D More...
#include <qquick3dextensionhelpers.h>
Public Member Functions | |
QQuick3DExtensionHelpers () |
Static Public Member Functions | |
static QSSGNodeId | getNodeId (const QQuick3DObject &node) |
static QSSGResourceId | getResourceId (const QQuick3DObject &resource) |
static QSSGCameraId | getCameraId (const QQuick3DObject &camera) |
static QSSGExtensionId | getExtensionId (const QQuick3DObject &extension) |
static QSSGRenderGraphObject::Type | getNodeIdType (QSSGNodeId nodeId) |
template<typename QSSGTypeId> | |
static constexpr bool | isNull (QSSGTypeId id) |
\inmodule QtQuick3D
Helper functions for the Extensions APIs.
Definition at line 31 of file qquick3dextensionhelpers.h.
QQuick3DExtensionHelpers::QQuick3DExtensionHelpers | ( | ) |
Definition at line 55 of file qquick3dextensionhelpers.cpp.
|
staticnodiscard |
\return a \c QSSGCameraId that can be used to retrieve the corresponding \a camera object in the engine.
!
Definition at line 94 of file qquick3dextensionhelpers.cpp.
|
staticnodiscard |
Definition at line 102 of file qquick3dextensionhelpers.cpp.
|
staticnodiscard |
\return a \c QSSGNodeId that can be used to retrieve the object in the engine corresponding to \a node.
!
Definition at line 66 of file qquick3dextensionhelpers.cpp.
|
staticnodiscard |
This function is useful to determine the type of a nodeId.
Definition at line 118 of file qquick3dextensionhelpers.cpp.
|
staticnodiscard |
\return a \c QSSGResourceId that can be used to retrieve the corresponding \a resource object in the engine.
!
Definition at line 80 of file qquick3dextensionhelpers.cpp.
|
inlinestaticnodiscardconstexpr |
Definition at line 44 of file qquick3dextensionhelpers.h.