Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
\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) |
template<typename QSSGTypeId > | |
static constexpr bool | isNull (QSSGTypeId id) |
\inmodule QtQuick3D
Helper functions for the Extensions APIs.
Definition at line 30 of file qquick3dextensionhelpers.h.
QQuick3DExtensionHelpers::QQuick3DExtensionHelpers | ( | ) |
Definition at line 54 of file qquick3dextensionhelpers.cpp.
|
static |
\return a \c QSSGCameraId that can be used to retrieve the corresponding \a camera object in the engine.
!
Definition at line 93 of file qquick3dextensionhelpers.cpp.
References camera, QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isCamera(), and QSSG_ASSERT_X.
|
static |
Definition at line 101 of file qquick3dextensionhelpers.cpp.
References extension(), QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isExtension(), and QSSG_ASSERT_X.
|
static |
\return a \c QSSGNodeId that can be used to retrieve the object in the engine corresponding to \a node.
!
Definition at line 65 of file qquick3dextensionhelpers.cpp.
References QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isNodeType(), and QSSG_ASSERT_X.
|
static |
\return a \c QSSGResourceId that can be used to retrieve the corresponding \a resource object in the engine.
!
Definition at line 79 of file qquick3dextensionhelpers.cpp.
References QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isResource(), and QSSG_ASSERT_X.
|
inlinestaticconstexpr |
Definition at line 41 of file qquick3dextensionhelpers.h.