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

Go to the source code of this file.

Namespaces

namespace  PhosphorShaders

Functions

PHOSPHORSHADERS_EXPORT QString PhosphorShaders::resolveWithinPack (const QDir &packDir, const QString &declaredName, PhosphorFsLoader::AbsolutePathPolicy policy, const QLoggingCategory &log)
 Resolve a pack-declared relative path against packDir, refusing anything that escapes the pack.