Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qssgrendergraphobject.cpp
Go to the documentation of this file.
1// Copyright (C) 2008-2012 NVIDIA Corporation.
2// Copyright (C) 2019 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
4
5
7
9
11
13{
14#define RETURN_AS_STRING(T) case T: return #T;
15 switch (type) {
16 RETURN_AS_STRING(Type::Unknown)
17 RETURN_AS_STRING(Type::Node)
18 RETURN_AS_STRING(Type::Layer)
19 RETURN_AS_STRING(Type::Joint)
20 RETURN_AS_STRING(Type::Skeleton)
21 RETURN_AS_STRING(Type::ImportScene)
22 RETURN_AS_STRING(Type::ReflectionProbe)
23 RETURN_AS_STRING(Type::DirectionalLight)
24 RETURN_AS_STRING(Type::PointLight)
25 RETURN_AS_STRING(Type::SpotLight)
26 RETURN_AS_STRING(Type::OrthographicCamera)
27 RETURN_AS_STRING(Type::PerspectiveCamera)
28 RETURN_AS_STRING(Type::CustomFrustumCamera)
29 RETURN_AS_STRING(Type::CustomCamera)
30 RETURN_AS_STRING(Type::Model)
31 RETURN_AS_STRING(Type::Item2D)
32 RETURN_AS_STRING(Type::Particles)
33 RETURN_AS_STRING(Type::SceneEnvironment)
34 RETURN_AS_STRING(Type::Effect)
35 RETURN_AS_STRING(Type::Geometry)
36 RETURN_AS_STRING(Type::TextureData)
37 RETURN_AS_STRING(Type::MorphTarget)
38 RETURN_AS_STRING(Type::ModelInstance)
39 RETURN_AS_STRING(Type::ModelBlendParticle)
40 RETURN_AS_STRING(Type::ResourceLoader)
41 RETURN_AS_STRING(Type::DefaultMaterial)
42 RETURN_AS_STRING(Type::PrincipledMaterial)
43 RETURN_AS_STRING(Type::CustomMaterial)
44 RETURN_AS_STRING(Type::SpecularGlossyMaterial)
45 RETURN_AS_STRING(Type::Skin)
46 RETURN_AS_STRING(Type::Image2D)
47 RETURN_AS_STRING(Type::ImageCube)
48 RETURN_AS_STRING(Type::RenderExtension)
49 }
50#undef RETURN_AS_STRING
51 return nullptr;
52}
53
55{
56 stream.nospace() << "QSSGRenderGraphObject" << '{' << asString(type) << '}';
57 return stream;
58}
59
\inmodule QtCore
Combined button and popup list for selecting options.
EGLStreamKHR stream
GLenum type
#define RETURN_AS_STRING(T)
static const char * asString(QSSGRenderGraphObject::Type type)
static QDebug debugPrintImpl(QDebug stream, QSSGRenderGraphObject::Type type)
Definition moc.h:24