created new node clip type

This commit is contained in:
itsmattkc
2019-05-17 22:19:42 +10:00
parent 00d3a4f105
commit 3d4f12cd8e
3 changed files with 37 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "nodevideoclip.h"
NodeVideoClip::NodeVideoClip(NodeGraph *parent) :
NodeBlock(parent)
{
texture_input_ = new NodeIO(this, "texture", tr("Texture"), true, false);
texture_input_->AddAcceptedNodeInput(olive::nodes::kTexture);
texture_output_ = new NodeIO(this, "texture", tr("Texture"), true, false);
texture_output_->SetOutputDataType(olive::nodes::kTexture);
}
NodeIO *NodeVideoClip::texture_output()
{
return texture_output_;
}