diff options
author | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2015-07-25 21:16:07 -0300 |
---|---|---|
committer | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2015-07-25 21:16:07 -0300 |
commit | 5ffd818fb195a6e9bea48ec03ad52a77080a8d25 (patch) | |
tree | d47010a59b24f12649b4eaafd9edca5723cd8976 /scene/resources/shader_graph.h | |
parent | bdde79a3f433dbff244e544b72ac8946d8d9b44b (diff) | |
download | redot-engine-5ffd818fb195a6e9bea48ec03ad52a77080a8d25.tar.gz |
Duplicate GraphNode(s) [Control+D]
Diffstat (limited to 'scene/resources/shader_graph.h')
-rw-r--r-- | scene/resources/shader_graph.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/shader_graph.h b/scene/resources/shader_graph.h index fd6540a747..d3a297cd6c 100644 --- a/scene/resources/shader_graph.h +++ b/scene/resources/shader_graph.h @@ -216,6 +216,10 @@ public: void texture_node_set_filter_strength(ShaderType p_which,float p_id,float p_strength); float texture_node_get_filter_strength(ShaderType p_which,float p_id) const; + void duplicate_nodes(ShaderType p_which, List<int> &p_nodes); + + List<int> generate_ids(ShaderType p_type, int count); + enum ScalarOp { SCALAR_OP_ADD, SCALAR_OP_SUB, |