From bc647393ba043239ac18f4a7414f138a3117bd00 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Thu, 13 Feb 2020 09:43:43 +0300 Subject: Added virtual method to VisualShaderNodeCustom to enable high-end mark --- scene/resources/visual_shader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene') 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() { -- cgit v1.2.3