summaryrefslogtreecommitdiffstats
path: root/scene/resources/visual_shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/visual_shader.cpp')
-rw-r--r--scene/resources/visual_shader.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp
index 42e4a0fa3d..a361b7584a 100644
--- a/scene/resources/visual_shader.cpp
+++ b/scene/resources/visual_shader.cpp
@@ -611,6 +611,36 @@ void VisualShaderNodeCustom::_set_initialized(bool p_enabled) {
is_initialized = p_enabled;
}
+String VisualShaderNodeCustom::_get_name() const {
+ String ret;
+ GDVIRTUAL_CALL(_get_name, ret);
+ return ret;
+}
+
+String VisualShaderNodeCustom::_get_description() const {
+ String ret;
+ GDVIRTUAL_CALL(_get_description, ret);
+ return ret;
+}
+
+String VisualShaderNodeCustom::_get_category() const {
+ String ret;
+ GDVIRTUAL_CALL(_get_category, ret);
+ return ret;
+}
+
+VisualShaderNodeCustom::PortType VisualShaderNodeCustom::_get_return_icon_type() const {
+ PortType ret = PORT_TYPE_SCALAR;
+ GDVIRTUAL_CALL(_get_return_icon_type, ret);
+ return ret;
+}
+
+bool VisualShaderNodeCustom::_is_highend() const {
+ bool ret = false;
+ GDVIRTUAL_CALL(_is_highend, ret);
+ return ret;
+}
+
void VisualShaderNodeCustom::_bind_methods() {
GDVIRTUAL_BIND(_get_name);
GDVIRTUAL_BIND(_get_description);