2#include <Process/Dataflow/CableData.hpp>
4#include <Gfx/Graph/Node.hpp>
5#include <Gfx/Graph/RenderList.hpp>
7#include <ossia/detail/algorithms.hpp>
9#include <score_plugin_gfx_export.h>
17struct SCORE_PLUGIN_GFX_EXPORT
Graph
39 void addEdge(
Port* source,
Port* sink, Process::CableType t);
44 void removeEdge(
Port* source,
Port* sink);
49 void addAndLinkEdge(
Port* source,
Port* sink, Process::CableType t);
54 void unlinkAndRemoveEdge(
Port* source,
Port* sink);
84 bool canDoVSync()
const noexcept;
86 const std::vector<std::shared_ptr<RenderList>>& renderLists()
const noexcept
91 std::span<OutputNode* const> outputs()
const noexcept
98 void createOutputRenderList(
OutputNode& output);
99 void recreateOutputRenderList(
OutputNode& output);
100 std::shared_ptr<RenderList>
101 createRenderList(
OutputNode*, std::shared_ptr<RenderState> state);
103 std::vector<std::shared_ptr<RenderList>> m_renderers;
104 std::vector<std::shared_ptr<Window>> m_unused_windows;
106 std::vector<score::gfx::Node*> m_nodes;
107 std::vector<Edge*> m_edges;
109 std::vector<OutputNode*> m_outputs;
Root data model for visual nodes.
Definition score-plugin-gfx/Gfx/Graph/Node.hpp:74
Base class for sink nodes (QWindow, spout, syphon, NDI output, ...)
Definition OutputNode.hpp:31
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:12
GraphicsApi
Available graphics APIs to use.
Definition RenderState.hpp:22
Represents a graph of renderers.
Definition score-plugin-gfx/Gfx/Graph/Graph.hpp:18
Port of a score::gfx::Node.
Definition score-plugin-gfx/Gfx/Graph/Utils.hpp:54