proof of concept for retrieving a texture from a node
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user