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>.
Loading...
Searching...
No Matches
QQuick3DExtensionHelpers Class Reference

\inmodule QtQuick3D More...

#include <qquick3dextensionhelpers.h>

+ Collaboration diagram for QQuick3DExtensionHelpers:

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)
 

Detailed Description

\inmodule QtQuick3D

Since
6.6

Helper functions for the Extensions APIs.

Definition at line 30 of file qquick3dextensionhelpers.h.

Constructor & Destructor Documentation

◆ QQuick3DExtensionHelpers()

QQuick3DExtensionHelpers::QQuick3DExtensionHelpers ( )

Definition at line 54 of file qquick3dextensionhelpers.cpp.

Member Function Documentation

◆ getCameraId()

QSSGCameraId QQuick3DExtensionHelpers::getCameraId ( const QQuick3DObject & camera)
static
\return a \c QSSGCameraId that can be used to retrieve the corresponding \a camera object
in the engine.

!

See also
QSSGFrameData::getNode()

Definition at line 93 of file qquick3dextensionhelpers.cpp.

References camera, QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isCamera(), and QSSG_ASSERT_X.

+ Here is the call graph for this function:

◆ getExtensionId()

QSSGExtensionId QQuick3DExtensionHelpers::getExtensionId ( const QQuick3DObject & extension)
static

Definition at line 101 of file qquick3dextensionhelpers.cpp.

References extension(), QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isExtension(), and QSSG_ASSERT_X.

+ Here is the call graph for this function:

◆ getNodeId()

QSSGNodeId QQuick3DExtensionHelpers::getNodeId ( const QQuick3DObject & node)
static
\return a \c QSSGNodeId that can be used to retrieve the object in the engine
corresponding to \a node.

!

See also
QSSGFrameData::getNode()

Definition at line 65 of file qquick3dextensionhelpers.cpp.

References QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isNodeType(), and QSSG_ASSERT_X.

+ Here is the call graph for this function:

◆ getResourceId()

QSSGResourceId QQuick3DExtensionHelpers::getResourceId ( const QQuick3DObject & resource)
static
\return a \c QSSGResourceId that can be used to retrieve the corresponding \a resource object
in the engine.

!

See also
QSSGFrameData::getResource()

Definition at line 79 of file qquick3dextensionhelpers.cpp.

References QQuick3DObjectPrivate::get(), Invalid, QSSGRenderGraphObject::isResource(), and QSSG_ASSERT_X.

+ Here is the call graph for this function:

◆ isNull()

template<typename QSSGTypeId >
static constexpr bool QQuick3DExtensionHelpers::isNull ( QSSGTypeId id)
inlinestaticconstexpr

Definition at line 41 of file qquick3dextensionhelpers.h.


The documentation for this class was generated from the following files: