diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-13 09:10:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 09:10:18 +0100 |
commit | d661ca53575142582254f56afd5f92563db6dd9f (patch) | |
tree | 7e758134e420b0fe1073364af460fb2341698264 /scene | |
parent | 57dca8b8cc03265de7b8288620f095cb04d8c611 (diff) | |
parent | bc647393ba043239ac18f4a7414f138a3117bd00 (diff) |
Merge pull request #36172 from Chaosus/vs_custom_highend
Added virtual method to VisualShaderNodeCustom to enable high-end mark
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/visual_shader.cpp | 1 |
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() { |