node: change class sent to GetShaderCode

This commit is contained in:
itsmattkc
2022-05-07 13:36:44 -07:00
parent b51cae0475
commit 601d08ce64
38 changed files with 67 additions and 58 deletions
+2 -2
View File
@@ -94,9 +94,9 @@ void CropDistortNode::Value(const NodeValueRow &value, const NodeGlobals &global
}
}
ShaderCode CropDistortNode::GetShaderCode(const QString &shader_id) const
ShaderCode CropDistortNode::GetShaderCode(const ShaderRequest &request) const
{
Q_UNUSED(shader_id)
Q_UNUSED(request)
return ShaderCode(FileFunctions::ReadFileAsString(QStringLiteral(":/shaders/crop.frag")));
}
+1 -1
View File
@@ -62,7 +62,7 @@ public:
virtual void Value(const NodeValueRow& value, const NodeGlobals &globals, NodeValueTable *table) const override;
virtual ShaderCode GetShaderCode(const QString &shader_id) const override;
virtual ShaderCode GetShaderCode(const ShaderRequest &request) const override;
virtual void UpdateGizmoPositions(const NodeValueRow &row, const NodeGlobals &globals) override;