score-plugin-js/JS/Executor/GpuNode.hpp
1 #pragma once
2 #include <qobjectdefs.h>
3 
4 #if defined(SCORE_HAS_GPU_JS)
5 #include <Gfx/GfxExecContext.hpp>
6 #include <Gfx/GfxExecNode.hpp>
7 
8 namespace JS
9 {
10 class gpu_exec_node final : public Gfx::gfx_exec_node
11 {
12 public:
13  explicit gpu_exec_node(Gfx::GfxExecutionAction& ctx);
14 
15  ~gpu_exec_node();
16 
17  std::string label() const noexcept override;
18 
19  void setScript(const QString& str);
20 };
21 }
22 #endif
Definition: GfxExecContext.hpp:16
Definition: GfxExecNode.hpp:40