completed prototype of background service that traverse the graph

This commit is contained in:
itsmattkc
2019-08-25 13:51:47 +10:00
parent 438e7081f9
commit 09a6a5a12a
16 changed files with 396 additions and 59 deletions
+14
View File
@@ -9,6 +9,15 @@ BlendNode::BlendNode()
blend_input_ = new NodeInput("blend_in");
blend_input_->add_data_input(NodeParam::kTexture);
AddParameter(blend_input_);
texture_output_ = new NodeOutput("tex_out");
texture_output_->set_data_type(NodeParam::kTexture);
AddParameter(texture_output_);
}
QString BlendNode::Category()
{
return tr("Blend");
}
NodeInput *BlendNode::base_input()
@@ -20,3 +29,8 @@ NodeInput *BlendNode::blend_input()
{
return blend_input_;
}
NodeOutput *BlendNode::texture_output()
{
return texture_output_;
}