|
|
| MultiWindowNode (Configuration conf, const std::vector< Gfx::OutputMapping > &mappings) |
| |
| void | startRendering () override |
| |
| void | render () override |
| |
| void | onRendererChange () override |
| |
| bool | canRender () const override |
| |
| void | stopRendering () override |
| |
| void | setRenderer (std::shared_ptr< RenderList > r) override |
| |
| RenderList * | renderer () const override |
| |
| void | createOutput (score::gfx::OutputConfiguration) override |
| |
| void | destroyOutput () override |
| |
| void | updateGraphicsAPI (GraphicsApi) override |
| |
| void | setVSyncCallback (std::function< void()>) override |
| | Set a callback to drive rendering when there is a single output.
|
| |
| std::shared_ptr< RenderState > | renderState () const override |
| |
| score::gfx::OutputNodeRenderer * | createRenderer (RenderList &r) const noexcept override |
| | Create a renderer in a given context for this node.
|
| |
| Configuration | configuration () const noexcept override |
| |
|
const std::vector< WindowOutput > & | windowOutputs () const noexcept |
| |
|
const TextureRenderTarget & | offscreenTarget () const noexcept |
| |
|
void | setRenderSize (QSize sz) |
| |
|
void | setSourceRect (int windowIndex, QRectF rect) |
| |
|
void | setEdgeBlend (int windowIndex, int side, float width, float gamma) |
| |
|
void | setCornerWarp (int windowIndex, const Gfx::CornerWarp &warp) |
| |
|
void | setTransform (int windowIndex, int rotation, bool mirrorX, bool mirrorY) |
| |
|
void | setSwapchainFlag (Gfx::SwapchainFlag flag) |
| |
|
void | setSwapchainFormat (Gfx::SwapchainFormat format) |
| |
| virtual TextureRenderTarget | currentRenderTarget () const noexcept |
| | The output's current backing render target + render-pass descriptor, as the upstream nodes should render into it NOW.
|
| |
| GpuResourceRegistry & | acquireRegistry () |
| | Persistent GPU resource registry for this output.
|
| |
|
GpuResourceRegistry * | registry () const noexcept |
| | Non-owning accessor. Returns null if no registry has been acquired yet (e.g. queried before the first RenderList::init).
|
| |
| void | releaseRegistry () |
| | Tear down the registry's QRhi resources directly. Idempotent.
|
| |
|
| Node (const Node &)=delete |
| |
|
| Node (Node &&)=delete |
| |
|
Node & | operator= (const Node &)=delete |
| |
|
Node & | operator= (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 () |
| |
|
void | materialChange () noexcept |
| | Used to notify a material change from the model to the renderers.
|
| |
|
bool | hasMaterialChanged (int64_t &renderer) const noexcept |
| |
|
void | renderTargetChange () noexcept |
| | Used to notify a render target (texture inlet) change from the model to the renderers.
|
| |
|
bool | hasRenderTargetChanged (int64_t &renderer) const noexcept |
| |
| bool | hasExplicitRenderTargetSize (int32_t port) const noexcept |
| | Whether a given port has a user-specified render target size.
|
| |
|
QSize | resolveRenderTargetSize (int32_t port, RenderList &renderer) const noexcept |
| |
|
RenderTargetSpecs | resolveRenderTargetSpecs (int32_t port, RenderList &renderer) const noexcept |
| |
|
void | process (int32_t port, const ossia::render_target_spec &v) |
| |