5#ifndef QSSG_RENDER_GRAPH_OBJECT_H
6#define QSSG_RENDER_GRAPH_OBJECT_H
19#include <QtQuick3DRuntimeRender/private/qtquick3druntimerenderglobal_p.h>
20#include <QtQuick3DUtils/private/qquick3dprofiler_p.h>
21#include <QtCore/QString>
22#include <QtCore/QDebug>
24#define QSSG_DEBUG_ID 0
49 Node = BaseType::Node,
56 DirectionalLight = BaseType::Light | BaseType::Node,
60 OrthographicCamera = BaseType::Camera | BaseType::Node,
65 Model = BaseType::Renderable | BaseType::Node,
69 SceneEnvironment = BaseType::Resource,
78 DefaultMaterial = BaseType::Material | BaseType::Resource,
81 SpecularGlossyMaterial,
84 Image2D = BaseType::Texture | BaseType::Resource,
86 RenderExtension = BaseType::Extension
132 return ((
type == Type::Model)
134 || (
type == Type::Geometry)
135 || (
type == Type::TextureData)
136 || (
type == Type::ResourceLoader));
Combined button and popup list for selecting options.
#define Q_REQUIRED_RESULT
#define Q_QUICK3D_PROFILE_ID
static Q_REQUIRED_RESULT constexpr bool isNodeType(Type type) Q_DECL_NOTHROW
static Q_REQUIRED_RESULT constexpr bool isTexture(Type type) Q_DECL_NOTHROW
static Q_REQUIRED_RESULT constexpr bool isLight(Type type) Q_DECL_NOTHROW
static constexpr bool isExtension(Type type) noexcept
friend QDebug operator<<(QDebug stream, QSSGRenderGraphObject::Type type)
static Q_REQUIRED_RESULT constexpr bool hasGraphicsResources(Type type) Q_DECL_NOTHROW
static Q_REQUIRED_RESULT constexpr bool isResource(Type type) Q_DECL_NOTHROW
static Q_REQUIRED_RESULT constexpr bool isCamera(Type type) Q_DECL_NOTHROW
static Q_REQUIRED_RESULT constexpr bool isRenderable(Type type) Q_DECL_NOTHROW
Q_QUICK3D_PROFILE_ID QSSGRenderGraphObject(QSSGRenderGraphObject::Type inType)
static Q_REQUIRED_RESULT constexpr bool isMaterial(Type type) Q_DECL_NOTHROW