completed prototype of background service that traverse the graph
This commit is contained in:
@@ -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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user