score::gfx::Node Class Referenceabstract

Root data model for visual nodes. More...

Inheritance diagram for score::gfx::Node:
score::gfx::OutputNode score::gfx::ProcessNode Gfx::LibavEncoderNode Gfx::Sh4ltOutputNode Gfx::ShmdataOutputNode Gfx::SpoutNode score::gfx::ScreenNode Gfx::Spout::SpoutInputNode score::gfx::DepthNode score::gfx::GeometryFilterNode score::gfx::ISFNode score::gfx::NodeModel score::gfx::VideoNodeBase

Detailed Description

Root data model for visual nodes.

Public Member Functions

 Node (const Node &)=delete
 
 Node (Node &&)=delete
 
Nodeoperator= (const Node &)=delete
 
Nodeoperator= (Node &&)=delete
 
virtual NodeRenderercreateRenderer (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: