7#ifndef QSSG_RENDER_GRAPH_OBJECT_H
8#define QSSG_RENDER_GRAPH_OBJECT_H
19#include <QtQuick3DRuntimeRender/qtquick3druntimerenderexports.h>
20#include <QtCore/QDebug>
21#include <QtCore/qtconfigmacros.h>
22#include <QtQuick/qtquickglobal.h>
27#ifndef Q_QUICK3D_PROFILE_ID
28# if QT_CONFIG(qml_debug)
29# define Q_QUICK3D_PROFILE_ID_ qint32 profilingId = -1
;
31# define Q_QUICK3D_PROFILE_ID_
34# define Q_QUICK3D_PROFILE_ID_ Q_QUICK3D_PROFILE_ID
40 Q_DISABLE_COPY_MOVE(QSSGRenderGraphObject)
46 enum BaseType : quint32 {
107 using TypeT = std::underlying_type_t<Type>;
113 using FlagT = std::underlying_type_t<Flags>;
117 return (TypeT(type) & BaseType::Node);
122 return (TypeT(type) & BaseType::Light);
127 return (TypeT(type) & BaseType::Camera);
132 return (TypeT(type) & BaseType::Material);
137 return (TypeT(type) & BaseType::Texture);
142 return (TypeT(type) & BaseType::Renderable);
147 return (TypeT(type) & BaseType::Resource);
152 return (TypeT(type) & BaseType::Extension);
159 return (TypeT(type) & BaseType::User);
166 return ((flags & FlagT(Flags::HasGraphicsResources)) != 0);
173 virtual ~QSSGRenderGraphObject();
175#ifndef QT_NO_DEBUG_STREAM
176 friend Q_QUICK3DRUNTIMERENDER_EXPORT
QDebug operator<<(QDebug stream, QSSGRenderGraphObject::Type type);
180 explicit QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType);
181 explicit QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType, FlagT inFlags) : type(inType), flags(inFlags) {}
184#ifndef QT_NO_DEBUG_STREAM
185Q_QUICK3DRUNTIMERENDER_EXPORT
QDebug operator<<(QDebug, QSSGRenderGraphObject::Type type);
Type
\value X11 \value Windows \value MacPrinter \value CoreGraphics \macos's Quartz2D (CoreGraphics) \val...
static constexpr bool isCamera(Type type) noexcept
static constexpr bool isRenderable(Type type) noexcept
static constexpr bool isNodeType(Type type) noexcept
static constexpr bool isUserType(Type type) noexcept
static constexpr bool isExtension(Type type) noexcept
static constexpr bool isResource(Type type) noexcept
static constexpr bool isMaterial(Type type) noexcept
static constexpr bool isTexture(Type type) noexcept
bool hasGraphicsResources() const noexcept
static constexpr bool isLight(Type type) noexcept
Combined button and popup list for selecting options.
QDebug operator<<(QDebug debug, QDir::Filters filters)
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
#define RETURN_AS_STRING(T)
static QT_BEGIN_NAMESPACE const char * asString(QSSGRenderGraphObject::Type type)
#define Q_QUICK3D_PROFILE_ID_