6#include <PhosphorShaders/phosphorshaders_export.h>
73 static QString
expandIncludes(
const QString& source,
const QString& currentFileDir,
const QStringList& includePaths,
74 QString* outError =
nullptr, QStringList* outIncludedPaths =
nullptr,
75 QStringList* outSourcePaths =
nullptr);
Resolves include directives in GLSL shader source.
Definition ShaderIncludeResolver.h:23
static constexpr int MaxIncludeDepth
Definition ShaderIncludeResolver.h:25
static constexpr const char * GeneratedPreambleInclude
Reserved include name for the generated p_<id> autocomplete sidecar (plasmazones-shader-validate --em...
Definition ShaderIncludeResolver.h:43
static QString expandIncludes(const QString &source, const QString ¤tFileDir, const QStringList &includePaths, QString *outError=nullptr, QStringList *outIncludedPaths=nullptr, QStringList *outSourcePaths=nullptr)
Expand include directives in source.
static constexpr qsizetype MaxExpandedSize
Largest expanded source, in UTF-16 code units.
Definition ShaderIncludeResolver.h:34
static constexpr qint64 MaxIncludeBytes
Largest include file, in bytes.
Definition ShaderIncludeResolver.h:29
Definition ShaderProfile.h:21