summaryrefslogtreecommitdiff
path: root/scene/resources/shader_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/shader_graph.h')
-rw-r--r--scene/resources/shader_graph.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/scene/resources/shader_graph.h b/scene/resources/shader_graph.h
index c73895db8a..984164b449 100644
--- a/scene/resources/shader_graph.h
+++ b/scene/resources/shader_graph.h
@@ -115,7 +115,7 @@ public:
private:
- String _find_unique_name(ShaderType p_which, const String& p_base);
+ String _find_unique_name(const String& p_base);
struct SourceSlot {
@@ -151,6 +151,7 @@ private:
ShaderType shader_type;
const char *name;
const char *variable;
+ const char *postfix;
SlotType slot_type;
SlotDir dir;
};
@@ -175,6 +176,9 @@ private:
Array _get_node_list(ShaderType p_type) const;
Array _get_connections(ShaderType p_type) const;
+
+ void _set_data(const Dictionary& p_data);
+ Dictionary _get_data() const;
protected:
static void _bind_methods();