diff options
Diffstat (limited to 'src/runtime/q3dscustommaterial_p.h')
-rw-r--r-- | src/runtime/q3dscustommaterial_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/q3dscustommaterial_p.h b/src/runtime/q3dscustommaterial_p.h index 8c3cfbb..11eca98 100644 --- a/src/runtime/q3dscustommaterial_p.h +++ b/src/runtime/q3dscustommaterial_p.h @@ -138,8 +138,11 @@ class Q3DSV_PRIVATE_EXPORT Q3DSCustomMaterialParser : public Q3DSAbstractXmlPars { public: Q3DSCustomMaterial parse(const QString &filename, bool *ok = nullptr); + Q3DSCustomMaterial parse(const QByteArray &data, bool *ok = nullptr); private: + Q3DSCustomMaterial parse(bool *ok = nullptr); + void parseMaterial(); void parseMetaData(); void parseShaders(); |