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
QSSGRenderGraphObjectUtils Namespace Reference

Functions

constexpr QSSGResourceId getResourceId (const QSSGRenderGraphObject &o)
 
template<typename T = QSSGRenderGraphObject>
T * getResource (QSSGResourceId resId)
 
constexpr QSSGNodeId getNodeId (const QSSGRenderGraphObject &o)
 
template<typename T = QSSGRenderGraphObject>
T * getNode (QSSGNodeId nodeId)
 
constexpr QSSGCameraId getCameraId (const QSSGRenderGraphObject &o)
 
template<typename T = QSSGRenderGraphObject>
T * getCamera (QSSGCameraId cameraId)
 
constexpr QSSGExtensionId getExtensionId (const QSSGRenderGraphObject &o)
 
template<typename T = QSSGRenderGraphObject>
T * getExtension (QSSGExtensionId extensionId)
 
template<typename QSSGTypeId >
constexpr bool isNull (QSSGTypeId id)
 

Function Documentation

◆ getCamera()

template<typename T = QSSGRenderGraphObject>
T * QSSGRenderGraphObjectUtils::getCamera ( QSSGCameraId cameraId)

Definition at line 57 of file qssgrendergraphobject_p.h.

◆ getCameraId()

constexpr QSSGCameraId QSSGRenderGraphObjectUtils::getCameraId ( const QSSGRenderGraphObject & o)
constexpr

Definition at line 50 of file qssgrendergraphobject_p.h.

References Invalid, QSSGRenderGraphObject::isCamera(), o, and QSSG_ASSERT.

Referenced by QSSGFrameData::activeCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getExtension()

template<typename T = QSSGRenderGraphObject>
T * QSSGRenderGraphObjectUtils::getExtension ( QSSGExtensionId extensionId)

Definition at line 69 of file qssgrendergraphobject_p.h.

◆ getExtensionId()

constexpr QSSGExtensionId QSSGRenderGraphObjectUtils::getExtensionId ( const QSSGRenderGraphObject & o)
constexpr

Definition at line 62 of file qssgrendergraphobject_p.h.

References Invalid, QSSGRenderGraphObject::isExtension(), o, and QSSG_ASSERT.

+ Here is the call graph for this function:

◆ getNode()

template<typename T = QSSGRenderGraphObject>
T * QSSGRenderGraphObjectUtils::getNode ( QSSGNodeId nodeId)

Definition at line 45 of file qssgrendergraphobject_p.h.

Referenced by QSSGModelHelpers::setGlobalOpacity(), and QSSGModelHelpers::setGlobalTransform().

+ Here is the caller graph for this function:

◆ getNodeId()

constexpr QSSGNodeId QSSGRenderGraphObjectUtils::getNodeId ( const QSSGRenderGraphObject & o)
constexpr

Definition at line 38 of file qssgrendergraphobject_p.h.

References Invalid, QSSGRenderGraphObject::isNodeType(), o, and QSSG_ASSERT.

+ Here is the call graph for this function:

◆ getResource()

template<typename T = QSSGRenderGraphObject>
T * QSSGRenderGraphObjectUtils::getResource ( QSSGResourceId resId)

Definition at line 33 of file qssgrendergraphobject_p.h.

Referenced by QSSGLayerRenderData::setModelMaterials().

+ Here is the caller graph for this function:

◆ getResourceId()

constexpr QSSGResourceId QSSGRenderGraphObjectUtils::getResourceId ( const QSSGRenderGraphObject & o)
constexpr

Definition at line 26 of file qssgrendergraphobject_p.h.

References Invalid, QSSGRenderGraphObject::isResource(), o, and QSSG_ASSERT.

+ Here is the call graph for this function:

◆ isNull()

template<typename QSSGTypeId >
constexpr bool QSSGRenderGraphObjectUtils::isNull ( QSSGTypeId id)
constexpr

Definition at line 75 of file qssgrendergraphobject_p.h.