Loading...
Searching...
No Matches
BackgroundNode.hpp
Definition InvertYRenderer.hpp:10
std::vector< Port * > input
Input ports of that node.
Definition score-plugin-gfx/Gfx/Graph/Node.hpp:144
Base class for sink nodes (QWindow, spout, syphon, NDI output, ...)
Definition OutputNode.hpp:56
void releaseOwnedRenderList()
Invoke OutputConfiguration::onReleaseRenderList, if any.
Definition OutputNode.cpp:35
bool checkDeviceLost(const OffscreenFrame &frame, QRhi &rhi, const char *output) noexcept
Calls handleDeviceLost when the frame or the QRhi report a lost device. Returns deviceLost().
Definition OutputNode.cpp:178
void releaseRegistry()
Tear down the registry's QRhi resources directly. Idempotent.
Definition OutputNode.cpp:221
Definition OutputNode.hpp:38
void render(QRhiCommandBuffer &commands, bool force=false) noexcept
Render every node in order.
Definition RenderList.cpp:2294
std::vector< score::gfx::NodeRenderer * > renderers
Renderers - one per node.
Definition RenderList.hpp:321
TextureRenderTarget createOutputRenderTarget(RenderState &state, QRhiTexture &texture, OutputDepth depth, int samples)
The render target an offscreen output's input is drawn into.
Definition OutputNode.cpp:338
SharedDeviceMode
Who owns the imported Vulkan device behind a RenderState.
Definition RenderState.hpp:193
void releaseOutputRenderTarget(RenderState &state, TextureRenderTarget &target, bool deferred) noexcept
Frees what createOutputRenderTarget allocated, but not the texture.
Definition OutputNode.cpp:374
Definition BackgroundNode.hpp:16
void setSingleSample(bool b) noexcept
Render at one sample whatever the anti-aliasing setting.
Definition BackgroundNode.hpp:36
score::gfx::OutputNodeRenderer * createRenderer(RenderList &r) const noexcept override
Create a renderer in a given context for this node.
Definition BackgroundNode.hpp:264
score::gfx::TextureRenderTarget currentRenderTarget() const noexcept override
The output's current backing render target + render-pass descriptor, as the upstream nodes should ren...
Definition BackgroundNode.hpp:257
RAII bracket for QRhi::beginOffscreenFrame / endOffscreenFrame.
Definition score-plugin-gfx/Gfx/Graph/Utils.hpp:54
Definition OutputNode.hpp:17
std::function< void()> onReleaseRenderList
Ask the owning Graph to release + deregister the RenderList that was built against this output's QRhi...
Definition OutputNode.hpp:34
Definition OutputNode.hpp:94
Useful abstraction for storing all the data related to a render target.
Definition score-plugin-gfx/Gfx/Graph/Utils.hpp:307