diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-11 00:09:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 00:09:31 +0200 |
commit | 5137901c073bb02c4a96cd73c786e021c2d191d1 (patch) | |
tree | a5fa02bbe34abd7ee68ebd70148b131e823087e8 | |
parent | dcd11faad3802679a43b27155f1b6bc59aa39b60 (diff) | |
parent | 751782195072ec39f4188ccd8b24e733e0dff348 (diff) |
Merge pull request #40271 from madmiraal/fix-40253
Add missing overrides to visual_shader_nodes.h
-rw-r--r-- | scene/resources/visual_shader_nodes.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scene/resources/visual_shader_nodes.h b/scene/resources/visual_shader_nodes.h index a7f252234d..13a132c60e 100644 --- a/scene/resources/visual_shader_nodes.h +++ b/scene/resources/visual_shader_nodes.h @@ -2009,22 +2009,22 @@ protected: static void _bind_methods(); public: - virtual String get_caption() const; + virtual String get_caption() const override; - virtual int get_input_port_count() const; - virtual PortType get_input_port_type(int p_port) const; - virtual String get_input_port_name(int p_port) const; + virtual int get_input_port_count() const override; + virtual PortType get_input_port_type(int p_port) const override; + virtual String get_input_port_name(int p_port) const override; - virtual int get_output_port_count() const; - virtual PortType get_output_port_type(int p_port) const; - virtual String get_output_port_name(int p_port) const; + virtual int get_output_port_count() const override; + virtual PortType get_output_port_type(int p_port) const override; + virtual String get_output_port_name(int p_port) const override; - virtual String generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview = false) const; //if no output is connected, the output var passed will be empty. if no input is connected and input is NIL, the input var passed will be empty + virtual String generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview = false) const override; //if no output is connected, the output var passed will be empty. if no input is connected and input is NIL, the input var passed will be empty void set_type(Type p_type); Type get_type() const; - virtual Vector<StringName> get_editable_properties() const; + virtual Vector<StringName> get_editable_properties() const override; VisualShaderNodeMultiplyAdd(); }; |