2#include <Gfx/Graph/Mesh.hpp>
3#include <Gfx/Graph/Node.hpp>
4#include <Gfx/Graph/RenderList.hpp>
8#include <score_plugin_gfx_export.h>
19 return v >= 1. && v <= double(std::numeric_limits<int>::max());
22struct SinglePassISFNode;
23struct RenderedISFNode;
24struct isf_input_port_vis;
33 ISFNode(
const isf::descriptor& desc,
const QString& vert,
const QString& frag);
34 ISFNode(
const isf::descriptor& desc,
const QString& comp);
37 QSize computeTextureSize(
38 const isf::pass& pass, QSize origSize,
39 std::span<const Sampler> inputSamplers = {});
43 const isf::descriptor& descriptor()
const noexcept {
return m_descriptor; }
47 static bool hasCameraInput(
const isf::descriptor& desc)
noexcept;
48 int cameraInput()
const noexcept {
return m_cameraInput; }
49 void process(
Message&& msg)
override;
52 void process(int32_t port,
const ossia::value& v)
override;
53 using ProcessNode::process;
54 friend SinglePassISFNode;
58 isf::descriptor m_descriptor;
61 std::list<AudioTexture> m_audio_textures;
62 std::unique_ptr<char[]> m_material_data;
68 int m_cameraInput{-1};
73 int m_materialUBOSize{};
Data model for Interactive Shader Format filters.
Definition ISFNode.hpp:31
Renderer for a given node.
Definition NodeRenderer.hpp:11
Common base class for nodes that map to score processes.
Definition score-plugin-gfx/Gfx/Graph/Node.hpp:216
List of nodes to be rendered to an output.
Definition RenderList.hpp:33
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:11
bool is_texture_dimension(double v) noexcept
Definition ISFNode.hpp:17
Definition score-plugin-gfx/Gfx/Graph/Node.hpp:51
Definition RenderedISFNode.hpp:22