began node hashing for improved cache
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifndef NODE_H
|
||||
#define NODE_H
|
||||
|
||||
#include <QCryptographicHash>
|
||||
#include <QMutex>
|
||||
#include <QObject>
|
||||
|
||||
@@ -147,6 +148,11 @@ public:
|
||||
*/
|
||||
bool OutputsTo(Node* n);
|
||||
|
||||
/**
|
||||
* @brief Add's unique information about this Node at the given time to a QCryptographicHash
|
||||
*/
|
||||
virtual void Hash(QCryptographicHash* hash, NodeOutput *from, const rational& time);
|
||||
|
||||
/**
|
||||
* @brief Convert a pointer to a value that can be sent between NodeParams
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user