use glium::{
uniforms::UniformValue,
Texture2d,
};
use crate::{
graph::{
NodeId,
UniformMap,
},
util::RectStrip,
};
pub trait Node: std::fmt::Debug {
fn inputs(&self) -> Vec<NodeId>;
fn outputs(&self) -> (&str, UniformValue);
fn texture(&self) -> Option<&Texture2d>;
fn forward(&mut self, rect_strip: &RectStrip, uniforms: UniformMap);
}