17 void init(
RenderList& renderer, QRhiResourceUpdateBatch& res)
override;
18 void update(
RenderList& renderer, QRhiResourceUpdateBatch& res,
Edge* edge)
override;
21 void runInitialPasses(
22 RenderList&, QRhiCommandBuffer& commands, QRhiResourceUpdateBatch*& res,
25 void runRenderPass(
RenderList&, QRhiCommandBuffer& commands,
Edge& edge)
override;
28 ossia::small_flat_map<const Port*, TextureRenderTarget, 2> m_rts;
32 QRhiResourceUpdateBatch& res);
34 std::vector<Sampler> allSamplers()
const noexcept;
40 QRhiGraphicsPipeline* background_pipeline{};
41 QRhiShaderResourceBindings* background_srb{};
42 QRhiBuffer* background_ubo{};
46 ossia::small_vector<PassData, 2> m_passes;
50 std::vector<Sampler> m_inputSamplers;
51 std::vector<Sampler> m_audioSamplers;
55 QRhiBuffer* m_materialUBO{};
58 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:115