5#ifndef QSSG_RENDER_GRAPH_OBJECT_H
6#define QSSG_RENDER_GRAPH_OBJECT_H
17#include <QtQuick3DRuntimeRender/qtquick3druntimerenderexports.h>
18#include <QtCore/QDebug>
19#include <QtCore/qtconfigmacros.h>
20#include <QtQuick/qtquickglobal.h>
25#ifndef Q_QUICK3D_PROFILE_ID
26# if QT_CONFIG(qml_debug)
27# define Q_QUICK3D_PROFILE_ID_ qint32 profilingId = -1
;
29# define Q_QUICK3D_PROFILE_ID_
32# define Q_QUICK3D_PROFILE_ID_ Q_QUICK3D_PROFILE_ID
38 Q_DISABLE_COPY_MOVE(QSSGRenderGraphObject)
44 enum BaseType : quint32 {
102 using TypeT = std::underlying_type_t<Type>;
107 using FlagT = std::underlying_type_t<Flags>;
111 return (TypeT(type) & BaseType::Node);
116 return (TypeT(type) & BaseType::Light);
121 return (TypeT(type) & BaseType::Camera);
126 return (TypeT(type) & BaseType::Material);
131 return (TypeT(type) & BaseType::Texture);
136 return (TypeT(type) & BaseType::Renderable);
141 return (TypeT(type) & BaseType::Resource);
146 return (TypeT(type) & BaseType::Extension);
153 return (TypeT(type) & BaseType::User);
160 return ((flags & FlagT(Flags::HasGraphicsResources)) != 0);
167 virtual ~QSSGRenderGraphObject();
169#ifndef QT_NO_DEBUG_STREAM
170 friend Q_QUICK3DRUNTIMERENDER_EXPORT
QDebug operator<<(QDebug stream, QSSGRenderGraphObject::Type type);
174 explicit QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType);
175 explicit QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType, FlagT inFlags) : type(inType), flags(inFlags) {}
178#ifndef QT_NO_DEBUG_STREAM
179Q_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
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
QDebug operator<<(QDebug debug, QIODevice::OpenMode modes)
#define RETURN_AS_STRING(T)
static QT_BEGIN_NAMESPACE const char * asString(QSSGRenderGraphObject::Type type)
#define Q_QUICK3D_PROFILE_ID_