2#include <Process/GenericProcessFactory.hpp>
3#include <Process/Process.hpp>
4#include <Process/Script/ScriptProcess.hpp>
6#include <Gfx/CommandFactory.hpp>
7#include <Gfx/Filter/Metadata.hpp>
8#include <Gfx/ShaderProgram.hpp>
17 SCORE_SERIALIZE_FRIENDS
22 static constexpr bool hasExternalUI()
noexcept {
return true; }
29 template <
typename Impl>
30 Model(Impl& vis, QObject* parent)
40 const QString& vertex()
const noexcept {
return m_program.vertex; }
41 void setVertex(QString f);
42 void vertexChanged(
const QString& v) W_SIGNAL(vertexChanged, v);
43 PROPERTY(QString, vertex READ vertex WRITE setVertex NOTIFY vertexChanged)
45 const QString& fragment()
const noexcept {
return m_program.fragment; }
46 void setFragment(QString f);
47 void fragmentChanged(
const QString& f) W_SIGNAL(fragmentChanged, f);
48 PROPERTY(QString, fragment READ fragment WRITE setFragment NOTIFY fragmentChanged)
50 const ShaderSource& program()
const noexcept {
return m_program; }
52 void programChanged() W_SIGNAL(programChanged);
58 return m_processedProgram;
61 void errorMessage(
const QString& arg_2)
const W_SIGNAL(errorMessage, arg_2);
67 const isf::descriptor& d,
68 const ossia::flat_map<QString, ossia::value>& previous_values);
70 QString prettyName()
const noexcept override;
83#include <Scenario/Commands/ScriptEditCommand.hpp>
89 SCORE_COMMAND_DECL(CommandFactoryName(),
ChangeShader,
"Edit a script")
91 using EditScript::EditScript;
100 using ChangeShader::ChangeShader;
Definition score-plugin-gfx/Gfx/Filter/Process.hpp:88
Definition score-plugin-gfx/Gfx/Filter/Process.hpp:16
Definition GenericProcessFactory.hpp:15
The Process class.
Definition score-lib-process/Process/Process.hpp:61
Definition ScriptEditCommand.hpp:16
The id_base_t class.
Definition Identifier.hpp:57
Binds the rendering pipeline to ossia processes.
Definition CameraDevice.cpp:24
Base toolkit upon which the software is built.
Definition Application.cpp:97
Definition score-plugin-gfx/Gfx/Filter/Process.hpp:77
Definition ShaderProgram.hpp:120
Definition ShaderProgram.hpp:27
Definition score-lib-process/Process/ProcessMetadata.hpp:37
Definition ScriptProcess.hpp:14
Definition TimeValue.hpp:21
Definition PropertyCommand.hpp:112