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 {
106 using TypeT = std::underlying_type_t<Type>;
112 using FlagT = std::underlying_type_t<Flags>;
116 return (TypeT(type) & BaseType::Node);
121 return (TypeT(type) & BaseType::Light);
126 return (TypeT(type) & BaseType::Camera);
131 return (TypeT(type) & BaseType::Material);
136 return (TypeT(type) & BaseType::Texture);
141 return (TypeT(type) & BaseType::Renderable);
146 return (TypeT(type) & BaseType::Resource);
151 return (TypeT(type) & BaseType::Extension);
158 return (TypeT(type) & BaseType::User);
165 return ((flags & FlagT(Flags::HasGraphicsResources)) != 0);
172 virtual ~QSSGRenderGraphObject();
174#ifndef QT_NO_DEBUG_STREAM
175 friend Q_QUICK3DRUNTIMERENDER_EXPORT
QDebug operator<<(QDebug stream, QSSGRenderGraphObject::Type type);
179 explicit QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType);
180 explicit QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType, FlagT inFlags) : type(inType), flags(inFlags) {}
183#ifndef QT_NO_DEBUG_STREAM
184Q_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.
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_