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);
66 void setupIsf(
const isf::descriptor& d);
68 QString prettyName()
const noexcept
override;
78 #include <Scenario/Commands/ScriptEditCommand.hpp>
84 SCORE_COMMAND_DECL(CommandFactoryName(),
ChangeShader,
"Edit a script")
86 using EditScript::EditScript;
95 using ChangeShader::ChangeShader;
Definition: score-plugin-gfx/Gfx/Filter/Process.hpp:83
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:23
The id_base_t class.
Definition: Identifier.hpp:57
Binds the rendering pipeline to ossia processes.
Definition: CameraDevice.cpp:28
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: ShaderProgram.hpp:120
Definition: ShaderProgram.hpp:27
Definition: Preset.hpp:32
Definition: ScriptProcess.hpp:14
Definition: TimeValue.hpp:21
Definition: PropertyCommand.hpp:112