5#ifndef QSSGRENDERGRAPHOBJECT_P_H
6#define QSSGRENDERGRAPHOBJECT_P_H
19#include <ssg/qssgrendergraphobject.h>
21#include <ssg/qssgrenderbasetypes.h>
23#include <QtQuick3DUtils/private/qssgassert_p.h>
32template <
typename T = QSSGRenderGraphObject>
44template <
typename T = QSSGRenderGraphObject>
56template <
typename T = QSSGRenderGraphObject>
68template <
typename T = QSSGRenderGraphObject>
74template <
typename QSSGTypeId>
75constexpr bool isNull(QSSGTypeId
id) {
return (
id == QSSGTypeId::Invalid); }
static constexpr bool isCamera(Type type) noexcept
static constexpr bool isNodeType(Type type) noexcept
static constexpr bool isExtension(Type type) noexcept
static constexpr bool isResource(Type type) noexcept
constexpr QSSGCameraId getCameraId(const QSSGRenderGraphObject &o)
constexpr QSSGResourceId getResourceId(const QSSGRenderGraphObject &o)
T * getExtension(QSSGExtensionId extensionId)
T * getNode(QSSGNodeId nodeId)
T * getResource(QSSGResourceId resId)
constexpr QSSGExtensionId getExtensionId(const QSSGRenderGraphObject &o)
constexpr bool isNull(QSSGTypeId id)
T * getCamera(QSSGCameraId cameraId)
constexpr QSSGNodeId getNodeId(const QSSGRenderGraphObject &o)
#define QSSG_ASSERT(cond, action)