18 void init(
RenderList& renderer, QRhiResourceUpdateBatch& res)
override;
19 void update(
RenderList& renderer, QRhiResourceUpdateBatch& res,
Edge* edge)
override;
22 void runInitialPasses(
23 RenderList&, QRhiCommandBuffer& commands, QRhiResourceUpdateBatch*& res,
26 void runRenderPass(
RenderList&, QRhiCommandBuffer& commands,
Edge& edge)
override;
29 ossia::small_flat_map<const Port*, TextureRenderTarget, 2> m_rts;
33 QRhiResourceUpdateBatch& res);
35 std::vector<Sampler> allSamplers()
const noexcept;
41 QRhiGraphicsPipeline* background_pipeline{};
42 QRhiShaderResourceBindings* background_srb{};
43 QRhiBuffer* background_ubo{};
47 ossia::small_vector<PassData, 2> m_passes;
51 std::vector<Sampler> m_inputSamplers;
52 std::vector<Sampler> m_audioSamplers;
56 QRhiBuffer* m_materialUBO{};
59 std::optional<AudioTextureUpload> m_audioTex;
Useful abstraction for storing all the data related to a render target.
Definition score-plugin-gfx/Gfx/Graph/Utils.hpp:119