ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
anonymous_namespace{library-builder.cpp} Namespace Reference

Classes

struct  ExportResult

Functions

bool copy_shader (const QString &sourcePath, const QString &destinationPath, QString &error)
ExportResult export_shader_library (const QString &directory, bool replacingLibrary, const QStringList &sourcePaths, acmx2::Backend backend)
bool is_shader_file (const QFileInfo &fileInfo, acmx2::Backend backend)
QString normalized_path (const QString &path)
QString unique_export_name (const QString &fileName, const QStringList &usedNames)

Variables

constexpr int SOURCE_PATH_ROLE = Qt::UserRole

Function Documentation

◆ copy_shader()

bool anonymous_namespace{library-builder.cpp}::copy_shader ( const QString & sourcePath,
const QString & destinationPath,
QString & error )

Definition at line 64 of file library-builder.cpp.

References copy_shader(), and normalized_path().

Referenced by copy_shader(), and export_shader_library().

◆ export_shader_library()

◆ is_shader_file()

bool anonymous_namespace{library-builder.cpp}::is_shader_file ( const QFileInfo & fileInfo,
acmx2::Backend backend )

Definition at line 35 of file library-builder.cpp.

References acmx2::Acmxvk, and is_shader_file().

Referenced by export_shader_library(), and is_shader_file().

◆ normalized_path()

QString anonymous_namespace{library-builder.cpp}::normalized_path ( const QString & path)

Definition at line 44 of file library-builder.cpp.

References normalized_path().

Referenced by copy_shader(), export_shader_library(), and normalized_path().

◆ unique_export_name()

QString anonymous_namespace{library-builder.cpp}::unique_export_name ( const QString & fileName,
const QStringList & usedNames )

Definition at line 50 of file library-builder.cpp.

References unique_export_name().

Referenced by export_shader_library(), and unique_export_name().

Variable Documentation

◆ SOURCE_PATH_ROLE

int anonymous_namespace{library-builder.cpp}::SOURCE_PATH_ROLE = Qt::UserRole
constexpr

Definition at line 27 of file library-builder.cpp.