score::gfx::Node Class Referenceabstract
Root data model for visual nodes. More...
Inheritance diagram for score::gfx::Node:
Detailed Description
Root data model for visual nodes.
Public Member Functions | |
Node (const Node &)=delete | |
Node (Node &&)=delete | |
Node & | operator= (const Node &)=delete |
Node & | operator= (Node &&)=delete |
virtual NodeRenderer * | createRenderer (RenderList &r) const noexcept=0 |
Create a renderer in a given context for this node. | |
virtual void | renderedNodesChanged () |
Whenever render nodes are added / removed. | |
virtual void | process (Message &&msg) |
Process a message from the execution engine. | |
virtual void | update () |
Public Attributes | |
std::vector< Port * > | input |
Input ports of that node. | |
ossia::small_pod_vector< Port *, 1 > | output |
Output ports of that node. More... | |
ossia::flat_map< RenderList *, score::gfx::NodeRenderer * > | renderedNodes |
Map associating each RenderList to a Renderer for this model. | |
int32_t | id = -1 |
bool | addedToGraph {} |
Member Data Documentation
◆ output
ossia::small_pod_vector<Port*, 1> score::gfx::Node::output |
Output ports of that node.
Most of the time there will be a single image output.
The documentation for this class was generated from the following files:
- score-plugin-gfx/Gfx/Graph/Node.hpp
- Node.cpp