summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-02-13 09:43:43 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-02-13 09:43:43 +0300
commitbc647393ba043239ac18f4a7414f138a3117bd00 (patch)
treed9c5e799d35acb63708eef3328fec7b7d6ea4785 /scene/resources
parent3bc7fe5f1c5e3ce798c717566554fb719fef541a (diff)
Added virtual method to VisualShaderNodeCustom to enable high-end mark
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/visual_shader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp
index b3a72ea7b6..f80fe9f791 100644
--- a/scene/resources/visual_shader.cpp
+++ b/scene/resources/visual_shader.cpp
@@ -276,6 +276,7 @@ void VisualShaderNodeCustom::_bind_methods() {
BIND_VMETHOD(MethodInfo(Variant::STRING, "_get_output_port_name", PropertyInfo(Variant::INT, "port")));
BIND_VMETHOD(MethodInfo(Variant::STRING, "_get_code", PropertyInfo(Variant::ARRAY, "input_vars"), PropertyInfo(Variant::ARRAY, "output_vars"), PropertyInfo(Variant::INT, "mode"), PropertyInfo(Variant::INT, "type")));
BIND_VMETHOD(MethodInfo(Variant::STRING, "_get_global_code", PropertyInfo(Variant::INT, "mode")));
+ BIND_VMETHOD(MethodInfo(Variant::BOOL, "_is_highend"));
}
VisualShaderNodeCustom::VisualShaderNodeCustom() {