Loading...
Searching...
No Matches
Gfx::SpoutNode Struct Referencefinal
Inheritance diagram for Gfx::SpoutNode:
score::gfx::OutputNode score::gfx::Node

Public Member Functions

 SpoutNode (const SharedOutputSettings &set)
 
void startRendering () override
 
void onRendererChange () override
 
bool canRender () const override
 
void render () override
 
void stopRendering () override
 
void setRenderer (std::shared_ptr< score::gfx::RenderList > r) override
 
score::gfx::RenderListrenderer () const override
 
void createOutput (score::gfx::GraphicsApi graphicsApi, std::function< void()> onReady, std::function< void()> onUpdate, std::function< void()> onResize) override
 
void destroyOutput () override
 
std::shared_ptr< score::gfx::RenderStaterenderState () const override
 
score::gfx::OutputNodeRenderercreateRenderer (score::gfx::RenderList &r) const noexcept override
 Create a renderer in a given context for this node.
 
Configuration configuration () const noexcept override
 
- Public Member Functions inherited from score::gfx::OutputNode
virtual void updateGraphicsAPI (GraphicsApi)
 
- Public Member Functions inherited from score::gfx::Node
 Node (const Node &)=delete
 
 Node (Node &&)=delete
 
Nodeoperator= (const Node &)=delete
 
Nodeoperator= (Node &&)=delete
 
virtual void renderedNodesChanged ()
 Whenever render nodes are added / removed.
 
virtual void process (Message &&msg)
 Process a message from the execution engine.
 
virtual void update ()
 

Additional Inherited Members

- Public Attributes inherited from score::gfx::Node
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

◆ canRender()

bool Gfx::SpoutNode::canRender ( ) const
inlineoverridevirtual

◆ configuration()

Configuration Gfx::SpoutNode::configuration ( ) const
inlineoverridevirtualnoexcept

◆ createOutput()

void Gfx::SpoutNode::createOutput ( score::gfx::GraphicsApi  graphicsApi,
std::function< void()>  onReady,
std::function< void()>  onUpdate,
std::function< void()>  onResize 
)
inlineoverridevirtual

◆ createRenderer()

score::gfx::OutputNodeRenderer * Gfx::SpoutNode::createRenderer ( score::gfx::RenderList r) const
inlineoverridevirtualnoexcept

Create a renderer in a given context for this node.

Implements score::gfx::OutputNode.

◆ destroyOutput()

void Gfx::SpoutNode::destroyOutput ( )
inlineoverridevirtual

◆ onRendererChange()

void Gfx::SpoutNode::onRendererChange ( )
inlineoverridevirtual

◆ render()

void Gfx::SpoutNode::render ( )
inlineoverridevirtual

◆ renderer()

score::gfx::RenderList * Gfx::SpoutNode::renderer ( ) const
inlineoverridevirtual

◆ renderState()

std::shared_ptr< score::gfx::RenderState > Gfx::SpoutNode::renderState ( ) const
inlineoverridevirtual

◆ setRenderer()

void Gfx::SpoutNode::setRenderer ( std::shared_ptr< score::gfx::RenderList r)
inlineoverridevirtual

◆ startRendering()

void Gfx::SpoutNode::startRendering ( )
inlineoverridevirtual

◆ stopRendering()

void Gfx::SpoutNode::stopRendering ( )
inlineoverridevirtual

The documentation for this struct was generated from the following file:
  • SpoutOutput.cpp