Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
ShaderPresetParse.h File Reference
#include <PhosphorShaders/phosphorshaders_export.h>
#include <PhosphorShaders/ShaderPackPaths.h>
#include <QDir>
#include <QJsonObject>
#include <QMap>
#include <QSet>
#include <QString>
#include <QVariantMap>

Go to the source code of this file.

Namespaces

namespace  PhosphorShaders

Typedefs

using PhosphorShaders::PackPresets = QMap<QString, QVariantMap>
 Pack-declared named parameter presets: preset name → { paramId → value }.

Functions

PHOSPHORSHADERS_EXPORT PackPresets PhosphorShaders::parsePackPresets (const QDir &packDir, const QSet< QString > &imageParamIds, const QJsonObject &root, const QLoggingCategory &log)
 Parse the presets object of a pack metadata root.