diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-07 01:45:46 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-07 01:45:46 -0300 |
commit | 7a0e4c822caa0d91506f693cb0cea2188927939f (patch) | |
tree | 5bf2c9762277d82938d942435771c3be4b67c03e /scene/resources/shader_graph.h | |
parent | bd0356207631602f35e2111bc73bca2bd53e91a1 (diff) | |
download | redot-engine-7a0e4c822caa0d91506f693cb0cea2188927939f.tar.gz |
-Visual Shader Editing Finished, PLEASE TEST!
Diffstat (limited to 'scene/resources/shader_graph.h')
-rw-r--r-- | scene/resources/shader_graph.h | 6 |
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(); |