score::gfx::NodeRenderer Class Referenceabstract

Renderer for a given node. More...

Inheritance diagram for score::gfx::NodeRenderer:
Gfx::Spout::SpoutInputNode::Renderer RenderedDepthNode score::gfx::GenericNodeRenderer score::gfx::GeometryFilterNodeRenderer score::gfx::OutputNodeRenderer score::gfx::RenderedISFNode score::gfx::SimpleRenderedISFNode score::gfx::VideoNodeRenderer

Detailed Description

Renderer for a given node.

Public Member Functions

virtual TextureRenderTarget renderTargetForInput (const Port &input)=0
 
virtual void inputAboutToFinish (RenderList &renderer, const Port &p, QRhiResourceUpdateBatch *&)
 
virtual void init (RenderList &renderer, QRhiResourceUpdateBatch &res)=0
 
virtual void update (RenderList &renderer, QRhiResourceUpdateBatch &res)=0
 
virtual void runInitialPasses (RenderList &, QRhiCommandBuffer &commands, QRhiResourceUpdateBatch *&res, Edge &edge)
 
virtual void runRenderPass (RenderList &, QRhiCommandBuffer &commands, Edge &edge)
 
virtual void release (RenderList &)=0
 

Public Attributes

int32_t id {-1}
 

Member Function Documentation

◆ inputAboutToFinish()

void score::gfx::NodeRenderer::inputAboutToFinish ( RenderList renderer,
const Port p,
QRhiResourceUpdateBatch *&   
)
virtual

Called when all the inbound nodes to a texture input have finished rendering. Mainly useful to slip in a readback.


The documentation for this class was generated from the following files: