19 void init(
RenderList& renderer, QRhiResourceUpdateBatch& res)
override;
20 void update(
RenderList& renderer, QRhiResourceUpdateBatch& res,
Edge* edge)
override;
23 void runInitialPasses(
24 RenderList&, QRhiCommandBuffer& commands, QRhiResourceUpdateBatch*& res,
27 void runRenderPass(
RenderList&, QRhiCommandBuffer& commands,
Edge& edge)
override;
30 ossia::small_flat_map<const Port*, TextureRenderTarget, 2> m_rts;
34 std::vector<Sampler> allSamplers()
const noexcept;
36 ossia::small_vector<std::pair<Edge*, Pass>, 2> m_passes;
40 std::vector<Sampler> m_inputSamplers;
41 std::vector<Sampler> m_audioSamplers;
44 QRhiBuffer* m_meshBuffer{};
45 QRhiBuffer* m_idxBuffer{};
47 QRhiBuffer* m_materialUBO{};
50 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