Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
ShaderProfileTree.h File Reference
#include <PhosphorAnimation/ShaderProfile.h>
#include <PhosphorAnimation/phosphoranimation_export.h>
#include <QHash>
#include <QJsonObject>
#include <QString>
#include <QStringList>

Go to the source code of this file.

Classes

class  PhosphorAnimationShaders::ShaderProfileTree
 Hierarchical ShaderProfile storage with walk-up inheritance. More...
 

Namespaces

namespace  PhosphorAnimationShaders
 

Functions

PHOSPHORANIMATION_EXPORT bool PhosphorAnimationShaders::shaderPathResolvesInIsolation (const QString &path)
 True when path resolves its shader in ISOLATION: ShaderProfileTree:: resolve reads only the direct override at the path, so no ancestor or baseline shader ever applies there — and, symmetrically, an override AT the path can never shadow an ancestor's shader.
 
PHOSPHORANIMATION_EXPORT QString PhosphorAnimationShaders::shaderPathIsolationRoot (const QString &path)
 The subtree root path resolves WITHIN, or an empty string when it resolves the ordinary way (from the tree baseline, down the whole chain).
 
PHOSPHORANIMATION_EXPORT ShaderProfile PhosphorAnimationShaders::resolveShaderWithDefault (const ShaderProfileTree &tree, const QString &path)
 Resolve path against tree, applying the built-in per-event default shader (ProfilePaths::defaultShaderEffectIdForPath, e.g.