Root data model for visual nodes. More...
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. | |
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 Function Documentation
◆ createRenderer()
|
pure virtualnoexcept |
Create a renderer in a given context for this node.
Implemented in score::gfx::DepthNode, score::gfx::GeometryFilterNode, score::gfx::ImagesNode, score::gfx::FullScreenImageNode, score::gfx::ISFNode, score::gfx::NodeModel, score::gfx::PhongNode, score::gfx::ScreenNode, score::gfx::TexgenNode, score::gfx::TextNode, score::gfx::VideoNode, score::gfx::ModelDisplayNode, score::gfx::OutputNode, Gfx::LibavEncoderNode, Gfx::Sh4ltOutputNode, Gfx::ShmdataOutputNode, Gfx::Spout::SpoutInputNode, and Gfx::SpoutNode.
◆ process()
|
virtual |
Process a message from the execution engine.
Reimplemented in score::gfx::ProcessNode, score::gfx::TextNode, score::gfx::VideoNode, and score::gfx::ModelDisplayNode.
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