![]() |
Qt 6.x
The Qt SDK
|
Classes | |
| struct | OutputContext |
| class | PropertyMap |
| struct | QSSGQmlScopedIndent |
| struct | ValueToQmlResult |
Typedefs | |
| using | NodeNameMap = QHash< const QSSGSceneDesc::Node *, QString > |
| using | UniqueIdMap = QHash< QString, const QSSGSceneDesc::Node * > |
| using | UniqueIdOthers = QSet< QString > |
| using | NodeSet = QSet< QSSGSceneDesc::Node * > |
| typedef bool | NodeFilter(QSSGSceneDesc::Node *) |
Enumerations | |
| enum | QMLBasicType { Bool , Double , Int , List , Real , String , Url , Var , Color , Date , Font , Mat44 , Point , Quaternion , Rect , Size , Vector2D , Vector3D , Vector4D , Unknown_Count } |
Variables | |
| static constexpr QByteArrayView | qml_basic_types [] |
| static const char * | typeNames [] |
| static constexpr qsizetype | nNodeTypes = std::size(typeNames) - 1 |
| typedef bool QSSGQmlUtilities::NodeFilter(QSSGSceneDesc::Node *) |
Definition at line 109 of file qssgsceneedit.cpp.
| using QSSGQmlUtilities::NodeNameMap = typedef QHash<const QSSGSceneDesc::Node *, QString> |
Definition at line 583 of file qssgqmlutilities.cpp.
| using QSSGQmlUtilities::NodeSet = typedef QSet<QSSGSceneDesc::Node *> |
Definition at line 108 of file qssgsceneedit.cpp.
| using QSSGQmlUtilities::UniqueIdMap = typedef QHash<QString, const QSSGSceneDesc::Node *> |
Definition at line 585 of file qssgqmlutilities.cpp.
| using QSSGQmlUtilities::UniqueIdOthers = typedef QSet<QString> |
Definition at line 592 of file qssgqmlutilities.cpp.
| Enumerator | |
|---|---|
| Bool | |
| Double | |
| Int | |
| List | |
| Real | |
| String | |
| Url | |
| Var | |
| Color | |
| Date | |
| Font | |
| Mat44 | |
| Point | |
| Quaternion | |
| Rect | |
| Size | |
| Vector2D | |
| Vector3D | |
| Vector4D | |
| Unknown_Count | |
Definition at line 473 of file qssgqmlutilities.cpp.
| QSSGSceneDesc::Node Q_QUICK3DASSETUTILS_EXPORT * QSSGQmlUtilities::addResource | ( | QSSGSceneDesc::Scene * | scene, |
| const QJsonObject & | addition | ||
| ) |
Definition at line 222 of file qssgsceneedit.cpp.
References QSSGSceneDesc::addNode(), QJsonObject::constBegin(), QJsonObject::constEnd(), QJsonObject::contains(), findResource(), it, nodeTypeFromName(), Q_ASSERT, qWarning, replaceReferencesToResource(), scene, QSSGSceneDesc::Node::scene, setProperty(), QJsonValue::toString(), QString::toUtf8(), typeName, and QJsonObject::value().
Referenced by applyEdit().
Here is the call graph for this function:
Here is the caller graph for this function:| void Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::applyEdit | ( | QSSGSceneDesc::Scene * | scene, |
| const QJsonObject & | changes | ||
| ) |
Definition at line 272 of file qssgsceneedit.cpp.
References addResource(), QSet< T >::constBegin(), QSet< T >::constEnd(), deleteTree(), edit, findNode(), findResource(), it, nodeTypeFromName(), parent, qWarning, scene, setProperty(), QJsonValue::toArray(), typeName, unlinkChild(), and QJsonObject::value().
Referenced by importImp().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 739 of file qssgqmlutilities.cpp.
References QVariant::toString(), and var.
Referenced by createTimelineAnimation(), valueToQml(), and writeQmlForAnimation().
Here is the call graph for this function:
Here is the caller graph for this function:| QString QSSGQmlUtilities::asString | ( | QSSGSceneDesc::Animation::Channel::TargetProperty | prop | ) |
Definition at line 801 of file qssgqmlutilities.cpp.
References QSSGSceneDesc::Animation::Channel::Position, QStringLiteral, QSSGSceneDesc::Animation::Channel::Rotation, QSSGSceneDesc::Animation::Channel::Scale, and QSSGSceneDesc::Animation::Channel::Weight.
|
static |
Definition at line 664 of file qssgqmlutilities.cpp.
Referenced by blockBegin(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), and writeQml().
Here is the caller graph for this function:
|
static |
Definition at line 692 of file qssgqmlutilities.cpp.
References blockBegin(), and output.
Here is the call graph for this function:
|
static |
Definition at line 665 of file qssgqmlutilities.cpp.
Referenced by blockEnd(), writeQml(), writeQmlComponent(), writeQmlForAnimation(), writeQmlForNode(), and writeQmlForResourceNode().
Here is the caller graph for this function:
|
static |
Definition at line 698 of file qssgqmlutilities.cpp.
References blockEnd(), output, and qMax().
Here is the call graph for this function:Definition at line 744 of file qssgqmlutilities.cpp.
References colorToQml(), QMetaType::id(), QVariant::metaType(), QString::number(), QVariant::toString(), and var.
Referenced by valueToQml().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 75 of file qssgqmlutilities.cpp.
References QColor::HexArgb.
Referenced by builtinQmlType(), and variantToQml().
Here is the caller graph for this function:
|
static |
Definition at line 666 of file qssgqmlutilities.cpp.
Referenced by copyTextureAsset(), and writeNodeProperties().
Here is the caller graph for this function:
|
static |
Definition at line 843 of file qssgqmlutilities.cpp.
References QFileInfo::canonicalFilePath(), comment(), QFile::copy(), QFile::exists(), QFileInfo::exists(), fi, QFileInfo::fileName(), QUrl::fileName(), getTextureFolder(), indent(), QFileInfo::isRelative(), output, QUrl::path(), qDebug, QStringLiteral, QDir::separator(), and QUrl::toString().
Referenced by valueToQml().
Here is the call graph for this function:
Here is the caller graph for this function:| void Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::createTimelineAnimation | ( | const QSSGSceneDesc::Animation & | anim, |
| QObject * | parent, | ||
| bool | isEnabled, | ||
| bool | useBinaryKeyframes | ||
| ) |
Definition at line 1628 of file qssgqmlutilities.cpp.
References asString(), channel, QSSGSceneDesc::Animation::channels, generateKeyframeData(), QSSGSceneDesc::Animation::length, QSSGSceneDesc::Animation::name, parent, Q_ASSERT, and Q_UNUSED.
Referenced by QSSGRuntimeUtils::createScene().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 135 of file qssgsceneedit.cpp.
References animation, QSSGSceneDesc::Scene::animations, child, flattenTree(), removeFromAnimation(), and QSSGSceneDesc::Node::scene.
Referenced by applyEdit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 875 of file qssgqmlutilities.cpp.
References QLatin1StringView::at(), QMetaType::id(), QRegularExpression::isValid(), QRegularExpression::match(), match(), and Q_ASSERT.
Referenced by expandComponentsPartially(), and valueToQml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 937 of file qssgqmlutilities.cpp.
References expandComponents(), and QMetaType::id().
Referenced by valueToQml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 77 of file qssgsceneedit.cpp.
References child, QSSGSceneDesc::Node::children, findNode(), QSSGSceneDesc::Node::name, QSSGSceneDesc::Node::nodeType, parent, and ret.
Referenced by applyEdit(), findNode(), and nodeFromJson().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 96 of file qssgsceneedit.cpp.
References scene.
Referenced by addResource(), applyEdit(), and nodeFromJson().
Here is the caller graph for this function:
|
static |
Definition at line 111 of file qssgsceneedit.cpp.
References child, QSSGSceneDesc::Node::children, flattenTree(), and ret.
Referenced by deleteTree(), and flattenTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1452 of file qssgqmlutilities.cpp.
References QCborStreamWriter::append(), channel, QCborStreamWriter::endArray(), i, QEasingCurve::Linear, Q_UNUSED, QSSGSceneDesc::Animation::KeyPosition::Quaternion, and QCborStreamWriter::startArray().
Referenced by createTimelineAnimation(), and writeQmlForAnimation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 729 of file qssgqmlutilities.cpp.
References QStringLiteral.
Referenced by getAnimationSourceName().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 728 of file qssgqmlutilities.cpp.
References QStringLiteral.
Referenced by getAnimationSourceName(), and writeQmlForAnimation().
Here is the caller graph for this function:| QString QSSGQmlUtilities::getAnimationSourceName | ( | const QString & | id, |
| const QString & | property, | ||
| qsizetype | index | ||
| ) |
Definition at line 730 of file qssgqmlutilities.cpp.
References extension(), getAnimationExtension(), getAnimationFolder(), QString::number(), property, and QStringLiteral.
Referenced by writeQmlForAnimation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 636 of file qssgqmlutilities.cpp.
References QSet< T >::constEnd(), QSet< T >::constFind(), QString::fromUtf8(), QByteArray::isEmpty(), it, QStringLiteral, and sanitizeQmlId().
Referenced by writeQmlForAnimation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 595 of file qssgqmlutilities.cpp.
References QSet< T >::constEnd(), QSet< T >::constFind(), QString::fromLatin1(), QString::fromUtf8(), getQmlElementName(), QSet< T >::insert(), it, qMin(), QStringLiteral, sanitizeQmlId(), and typeNames.
Referenced by outputTextureAsset(), valueToQml(), writeNodeProperties(), writeQml(), and writeQmlForAnimation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 715 of file qssgqmlutilities.cpp.
References QStringLiteral.
Referenced by getMeshSourceName().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 714 of file qssgqmlutilities.cpp.
References QStringLiteral.
Referenced by getMeshSourceName(), and meshAssetName().
Here is the caller graph for this function:| Q_REQUIRED_RESULT QString Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::getMeshSourceName | ( | const QByteArrayView & | name | ) |
Definition at line 717 of file qssgqmlutilities.cpp.
References extension(), QString::fromUtf8(), getMeshExtension(), getMeshFolder(), and sanitizeQmlId().
Referenced by meshAssetName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 302 of file qssgqmlutilities.cpp.
References i, QHash< Key, T >::insert(), and metaObject().
Here is the call graph for this function:
|
static |
Definition at line 430 of file qssgqmlutilities.cpp.
References QSSGSceneDesc::Node::runtimeType.
Referenced by getIdForNode(), and valueToQml().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 726 of file qssgqmlutilities.cpp.
References QStringLiteral.
Referenced by copyTextureAsset(), getTextureSourceName(), and outputTextureAsset().
Here is the caller graph for this function:Definition at line 1241 of file qssgqmlutilities.cpp.
References ext, fmt, getTextureFolder(), and sanitizeQmlId().
Referenced by outputTextureAsset().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 667 of file qssgqmlutilities.cpp.
Referenced by copyTextureAsset(), indent(), indentString(), writeNodeProperties(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQmlComponent(), writeQmlForAnimation(), writeQmlForNode(), and writeQmlForResourceNode().
Here is the caller graph for this function:
|
static |
Definition at line 685 of file qssgqmlutilities.cpp.
References i, indent(), output, and QSSGQmlUtilities::QSSGQmlScopedIndent::QSSG_INDENT.
Here is the call graph for this function:
|
static |
Definition at line 677 of file qssgqmlutilities.cpp.
References QString::fromLatin1(), i, indent(), output, QSSGQmlUtilities::QSSGQmlScopedIndent::QSSG_INDENT, and str.
Referenced by valueToQml().
Here is the call graph for this function:
Here is the caller graph for this function:| QString Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::insertTabs | ( | int | n | ) |
Definition at line 54 of file qssgqmlutilities.cpp.
References i.
|
static |
Definition at line 815 of file qssgqmlutilities.cpp.
References QDir::exists(), file, getMeshFolder(), getMeshSourceName(), QSSGSceneDesc::Mesh::idx, QDir::mkdir(), QSSGSceneDesc::Node::name, QFile::open(), QDir::path(), Q_ASSERT, qDebug, QStringLiteral, scene, QDir::separator(), and QIODeviceBase::WriteOnly.
Referenced by valueToQml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 157 of file qssgsceneedit.cpp.
References QJsonObject::constBegin(), QJsonObject::constEnd(), findNode(), findResource(), it, nodeTypeFromName(), and scene.
Referenced by nodeListFromJson(), and setProperty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 170 of file qssgsceneedit.cpp.
References QVarLengthArray< T, Prealloc >::append(), QVarLengthArray< T, Prealloc >::count(), QVarLengthArray< T, Prealloc >::data(), nodeFromJson(), qWarning, and scene.
Referenced by setProperty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 44 of file qssgsceneedit.cpp.
References i, nNodeTypes, typeName, and typeNames.
Referenced by addResource(), applyEdit(), and nodeFromJson().
Here is the caller graph for this function:
|
static |
Definition at line 1252 of file qssgqmlutilities.cpp.
References QFileDevice::close(), QSSGSceneDesc::TextureData::data, QDir::exists(), file, QSSGSceneDesc::TextureData::flgs, QSSGSceneDesc::TextureData::fmt, QImage::Format_RGBA8888, QString::fromUtf8(), getIdForNode(), getTextureFolder(), getTextureSourceName(), QByteArray::isEmpty(), QDir::mkdir(), QFile::open(), QDir::path(), QDir::separator(), QSSGSceneDesc::TextureData::sz, QIODevice::write(), and QIODeviceBase::WriteOnly.
Referenced by writeQml().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 62 of file qssgqmlutilities.cpp.
References QString::isEmpty(), QStringLiteral, sanitizeQmlId(), and QString::toUpper().
Referenced by AssimpImporter::import().
Here is the call graph for this function:
Here is the caller graph for this function:| const char * QSSGQmlUtilities::qmlElementName | ( | ) |
Definition at line 406 of file qssgqmlutilities.cpp.
Referenced by valueToQml().
Here is the caller graph for this function:| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Camera::RuntimeType::DirectionalLight > | ( | ) |
Definition at line 421 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Camera::RuntimeType::PointLight > | ( | ) |
Definition at line 423 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Camera::RuntimeType::SpotLight > | ( | ) |
Definition at line 422 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Joint::RuntimeType::Joint > | ( | ) |
Definition at line 425 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Material::RuntimeType::CustomMaterial > | ( | ) |
Definition at line 411 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Material::RuntimeType::OrthographicCamera > | ( | ) |
Definition at line 412 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Material::RuntimeType::PerspectiveCamera > | ( | ) |
Definition at line 413 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Material::RuntimeType::PrincipledMaterial > | ( | ) |
Definition at line 410 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Material::RuntimeType::SpecularGlossyMaterial > | ( | ) |
Definition at line 409 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Node::RuntimeType::Model > | ( | ) |
Definition at line 415 of file qssgqmlutilities.cpp.
Referenced by writeQml().
Here is the caller graph for this function:| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Node::RuntimeType::MorphTarget > | ( | ) |
Definition at line 428 of file qssgqmlutilities.cpp.
Referenced by writeQml().
Here is the caller graph for this function:| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Node::RuntimeType::Node > | ( | ) |
Definition at line 407 of file qssgqmlutilities.cpp.
Referenced by writeQml().
Here is the caller graph for this function:| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Node::RuntimeType::Skin > | ( | ) |
Definition at line 427 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Skeleton::RuntimeType::Skeleton > | ( | ) |
Definition at line 426 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Texture::RuntimeType::Image2D > | ( | ) |
Definition at line 417 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Texture::RuntimeType::ImageCube > | ( | ) |
Definition at line 418 of file qssgqmlutilities.cpp.
| const char * QSSGQmlUtilities::qmlElementName< QSSGSceneDesc::Texture::RuntimeType::TextureData > | ( | ) |
Definition at line 419 of file qssgqmlutilities.cpp.
|
static |
Definition at line 125 of file qssgsceneedit.cpp.
References animation, channel, QSet< T >::contains(), and it.
Referenced by deleteTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 144 of file qssgsceneedit.cpp.
References QSet< T >::end(), QSet< T >::erase(), it, and QSSGSceneDesc::Node::properties.
Referenced by setProperty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 55 of file qssgsceneedit.cpp.
References child, QSSGSceneDesc::Node::children, QList< T >::count(), QVariant::fromValue(), i, list, QSSGSceneDesc::Node::properties, and replaceReferencesToResource().
Referenced by addResource(), and replaceReferencesToResource().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 125 of file qssgqmlutilities.cpp.
References QString::at(), QChar::fromLatin1(), i, QString::isEmpty(), QChar::isNumber(), QString::isUpper(), keywords, QString::length(), QString::prepend(), QStringLiteral, QString::remove(), QString::replace(), QString::startsWith(), QString::toLower(), and QString::toUtf8().
Referenced by getIdForAnimation(), getIdForNode(), getMeshSourceName(), getTextureSourceName(), and qmlComponentName().
Here is the call graph for this function:
Here is the caller graph for this function:| QString Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::sanitizeQmlSourcePath | ( | const QString & | source, |
| bool | removeParentDirectory | ||
| ) |
Definition at line 260 of file qssgqmlutilities.cpp.
References QChar::fromLatin1(), QStringLiteral, QString::replace(), and stripParentDirectory().
Here is the call graph for this function:| void Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::setProperty | ( | QSSGSceneDesc::Node * | node, |
| const QStringView | propertyName, | ||
| const QJsonValue & | value | ||
| ) |
Definition at line 194 of file qssgsceneedit.cpp.
References QSSGRuntimeUtils::applyPropertyValue(), QVariant::fromValue(), nodeFromJson(), nodeListFromJson(), QSSGSceneDesc::Node::obj, property, removeProperty(), QSSGSceneDesc::Node::scene, QSSGSceneDesc::setProperty(), QStringView::toUtf8(), and var.
Referenced by addResource(), and applyEdit().
Here is the call graph for this function:
Here is the caller graph for this function:| QString Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::stripParentDirectory | ( | const QString & | filePath | ) |
Definition at line 657 of file qssgqmlutilities.cpp.
References QChar::fromLatin1(), QString::remove(), and QString::startsWith().
Referenced by sanitizeQmlSourcePath().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 712 of file qssgqmlutilities.cpp.
References QStringLiteral, and text.
Referenced by valueToQml(), writeQml(), and writeQmlForAnimation().
Here is the caller graph for this function:
|
static |
Definition at line 521 of file qssgqmlutilities.cpp.
References Bool, Color, Date, Font, QMetaType::id(), Int, Mat44, Point, qml_basic_types, Quaternion, QMetaType::QVariant, Real, Rect, Size, String, Url, Var, Vector2D, Vector3D, and Vector4D.
Here is the call graph for this function:
|
static |
Definition at line 120 of file qssgsceneedit.cpp.
Referenced by applyEdit().
Here is the caller graph for this function:
|
static |
Definition at line 955 of file qssgqmlutilities.cpp.
References QString::append(), asString(), builtinQmlType(), copyTextureAsset(), QList< T >::count(), QList< T >::data(), QSSGQmlUtilities::OutputContext::DesignStudioWorkarounds, expandComponents(), expandComponentsPartially(), QSSGQmlUtilities::OutputContext::ExpandValueComponents, QString::fromLatin1(), QString::fromUtf8(), getIdForNode(), getQmlElementName(), i, indentString(), QUrl::isEmpty(), QString::isEmpty(), QMetaType::IsEnumeration, QSSGRenderGraphObject::isTexture(), QMetaType::IsUnsignedEnumeration, list, meshAssetName(), output, QUrl::path(), QByteArray::prepend(), property, Q_ASSERT, qmlElementName(), QStringLiteral, qWarning, QByteArray::replace(), scene, QString::size(), QByteArray::size(), str, toQuotedString(), url, QVariant::value(), and var.
Referenced by writeNodeProperties().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 81 of file qssgqmlutilities.cpp.
References colorToQml(), QString::number(), QStringLiteral, QVariant::toDouble(), QVariant::toString(), QVariant::typeId(), QVariant::value(), and variant.
Referenced by writeQmlForAnimation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 704 of file qssgqmlutilities.cpp.
References output.
Referenced by writeQml(), and writeQmlComponent().
Here is the caller graph for this function:
|
static |
Definition at line 1125 of file qssgqmlutilities.cpp.
References comment(), QString::fromLocal8Bit(), QString::fromUtf8(), getIdForNode(), indent(), QSSGQmlUtilities::PropertyMap::instance(), it, QSSGSceneDesc::Node::name, output, properties, QSSGSceneDesc::Node::properties, property, qDebug, QSSGSceneDesc::Node::runtimeType, QByteArray::size(), QString::startsWith(), typeName, and valueToQml().
Referenced by writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), writeQml(), and writeQml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1201 of file qssgqmlutilities.cpp.
References blockBegin(), camera, indent(), output, Q_ASSERT, and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1328 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGSceneDesc::Node::nodeType, output, Q_ASSERT, QSSGSceneDesc::Node::runtimeType, and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1305 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGSceneDesc::Node::nodeType, output, Q_ASSERT, QSSGSceneDesc::Node::runtimeType, and writeNodeProperties().
Here is the call graph for this function:| void QSSGQmlUtilities::writeQml | ( | const QSSGSceneDesc::Material & | material, |
| OutputContext & | output | ||
| ) |
Definition at line 1174 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGSceneDesc::Node::nodeType, output, Q_ASSERT, QSSGSceneDesc::Node::runtimeType, and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1193 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), model, output, Q_ASSERT, qmlElementName< QSSGSceneDesc::Node::RuntimeType::Model >(), and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1233 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGSceneDesc::Node::nodeType, output, Q_ASSERT, qmlElementName< QSSGSceneDesc::Node::RuntimeType::MorphTarget >(), and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1166 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), output, Q_ASSERT, qmlElementName< QSSGSceneDesc::Node::RuntimeType::Node >(), and writeNodeProperties().
Referenced by AssimpImporter::import(), writeQml(), writeQmlComponent(), writeQmlForNode(), and writeQmlForResourceNode().
Here is the call graph for this function:
Here is the caller graph for this function:| void Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::writeQml | ( | const QSSGSceneDesc::Scene & | scene, |
| QTextStream & | stream, | ||
| const QDir & | outdir, | ||
| const QJsonObject & | optionsObject | ||
| ) |
Definition at line 1565 of file qssgqmlutilities.cpp.
References blockEnd(), checkBooleanOption(), QSet< T >::constFind(), QSSGQmlUtilities::OutputContext::DesignStudioWorkarounds, QSSGQmlUtilities::OutputContext::ExpandValueComponents, QSSGQmlUtilities::OutputContext::Header, indent(), it, QSSGQmlUtilities::OutputContext::NodeTree, QSSGQmlUtilities::OutputContext::None, output, Q_ASSERT, QSSGQmlUtilities::OutputContext::Resource, QSSGQmlUtilities::OutputContext::RootNode, scene, writeImportHeader(), writeQml(), writeQmlForAnimation(), writeQmlForNode(), and writeQmlForResources().
Here is the call graph for this function:
|
static |
Definition at line 1320 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGSceneDesc::Node::nodeType, output, Q_ASSERT, QSSGSceneDesc::Node::runtimeType, and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1225 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGSceneDesc::Node::nodeType, output, Q_ASSERT, QSSGSceneDesc::Node::runtimeType, and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1214 of file qssgqmlutilities.cpp.
References blockBegin(), indent(), QSSGRenderGraphObject::isTexture(), output, Q_ASSERT, and writeNodeProperties().
Here is the call graph for this function:
|
static |
Definition at line 1286 of file qssgqmlutilities.cpp.
References QString::arg(), QString::fromLatin1(), getIdForNode(), indent(), QString::isEmpty(), QSSGSceneDesc::Node::nodeType, output, outputTextureAsset(), Q_ASSERT, QSSGSceneDesc::Node::runtimeType, toQuotedString(), and writeProperty().
Here is the call graph for this function:| void Q_QUICK3DASSETUTILS_EXPORT QSSGQmlUtilities::writeQmlComponent | ( | const QSSGSceneDesc::Node & | node, |
| QTextStream & | stream, | ||
| const QDir & | outDir | ||
| ) |
Definition at line 1678 of file qssgqmlutilities.cpp.
References blockEnd(), indent(), output, QSSG_ASSERT, QSSGQmlUtilities::OutputContext::Resource, QSSGSceneDesc::Scene::resources, QSSGSceneDesc::Node::runtimeType, QSSGSceneDesc::Node::scene, QSSGSceneDesc::Scene::sourceDir, writeImportHeader(), writeQml(), and writeQmlForResources().
Here is the call graph for this function:| void QSSGQmlUtilities::writeQmlForAnimation | ( | const QSSGSceneDesc::Animation & | anim, |
| qsizetype | index, | ||
| OutputContext & | output, | ||
| bool | useBinaryKeyframes = true |
||
| ) |
Definition at line 1494 of file qssgqmlutilities.cpp.
References asString(), blockEnd(), channel, QSSGSceneDesc::Animation::channels, QFileDevice::close(), file, QSSGSceneDesc::Animation::framesPerSecond, generateKeyframeData(), getAnimationFolder(), getAnimationSourceName(), getIdForAnimation(), getIdForNode(), indent(), QSSGSceneDesc::Animation::length, QSSGSceneDesc::Animation::name, QFile::open(), output, Q_ASSERT, qCeil(), QDir::separator(), toQuotedString(), variantToQml(), QIODevice::write(), and QIODeviceBase::WriteOnly.
Referenced by writeQml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1386 of file qssgqmlutilities.cpp.
References blockEnd(), QSSGSceneDesc::Node::children, indent(), QList< T >::isEmpty(), QSSGRenderGraphObject::isResource(), QSSGQmlUtilities::OutputContext::NodeTree, QSSGSceneDesc::Node::nodeType, output, processNode(), QSSGSceneDesc::Node::properties, QSSGQmlUtilities::OutputContext::Resource, QSSGSceneDesc::Node::runtimeType, writeQml(), and writeQmlForNode().
Referenced by writeQml(), and writeQmlForNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1336 of file qssgqmlutilities.cpp.
References blockEnd(), indent(), QList< T >::isEmpty(), QSSGRenderGraphObject::isResource(), QSSGSceneDesc::Node::nodeType, output, processNode(), QSSGSceneDesc::Node::properties, Q_ASSERT, qWarning, QSSGQmlUtilities::OutputContext::Resource, QSSGSceneDesc::Node::runtimeType, and writeQml().
Referenced by writeQmlForResources().
Here is the call graph for this function:
Here is the caller graph for this function:| void QSSGQmlUtilities::writeQmlForResources | ( | const QSSGSceneDesc::Scene::ResourceNodes & | resources, |
| OutputContext & | output | ||
| ) |
Definition at line 1434 of file qssgqmlutilities.cpp.
References output, and writeQmlForResourceNode().
Referenced by writeQml(), and writeQmlComponent().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 42 of file qssgsceneedit.cpp.
Referenced by nodeTypeFromName().
|
staticconstexpr |
Definition at line 497 of file qssgqmlutilities.cpp.
Referenced by typeName().
|
static |
Definition at line 26 of file qssgsceneedit.cpp.
Referenced by getIdForNode(), and nodeTypeFromName().