proof of concept for retrieving a texture from a node

This commit is contained in:
itsmattkc
2019-05-22 14:57:42 +10:00
parent 41884a13b9
commit f1fb0cccd0
12 changed files with 465 additions and 459 deletions
+4
View File
@@ -1,5 +1,7 @@
#include "nodemedia.h"
#include <QDebug>
#include "nodes/nodegraph.h"
NodeMedia::NodeMedia(NodeGraph* c) :
@@ -36,6 +38,8 @@ void NodeMedia::Process(rational time)
buffer_.buffer()->ReleaseBuffer();
qDebug() << "Node Media has" << buffer_.buffer()->texture();
texture_output_->SetValue(buffer_.buffer()->texture());
}