2#include <Gfx/Graph/RenderList.hpp>
3#include <Gfx/Graph/RenderedISFUtils.hpp>
5#include <score/tools/Debug.hpp>
10inline std::vector<Sampler>
11initAudioTextures(RenderList& renderer, std::list<AudioTexture>& textures)
13 std::vector<Sampler> samplers;
14 QRhi& rhi = *renderer.state.rhi;
15 for(
auto& texture : textures)
17 auto sampler = rhi.newSampler(
18 QRhiSampler::Linear, QRhiSampler::Linear, QRhiSampler::None,
19 QRhiSampler::ClampToEdge, QRhiSampler::ClampToEdge);
20 sampler->setName(
"ISFNode::initAudioTextures::sampler");
23 samplers.push_back({sampler, &renderer.emptyTexture()});
24 texture.samplers[&renderer] = {sampler,
nullptr};
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:12