summaryrefslogtreecommitdiffstats
path: root/scene/resources/visual_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/visual_shader.h')
-rw-r--r--scene/resources/visual_shader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.h b/scene/resources/visual_shader.h
index d3657eae07..1d23b80839 100644
--- a/scene/resources/visual_shader.h
+++ b/scene/resources/visual_shader.h
@@ -265,6 +265,7 @@ class VisualShaderNode : public Resource {
protected:
bool simple_decl = true;
bool disabled = false;
+ bool closable = false;
static void _bind_methods();
@@ -331,6 +332,9 @@ public:
bool is_disabled() const;
void set_disabled(bool p_disabled = true);
+ bool is_closable() const;
+ void set_closable(bool p_closable = true);
+
virtual Vector<StringName> get_editable_properties() const;
virtual HashMap<StringName, String> get_editable_properties_names() const;